Interface KernelDef.AttrConstraintOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AttrValue getAllowedValues()
      A list of values that this kernel supports for this attr.
      AttrValueOrBuilder getAllowedValuesOrBuilder()
      A list of values that this kernel supports for this attr.
      java.lang.String getName()
      Name of an attr from the Op.
      com.google.protobuf.ByteString getNameBytes()
      Name of an attr from the Op.
      boolean hasAllowedValues()
      A list of values that this kernel supports for this attr.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        java.lang.String getName()
         Name of an attr from the Op.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of an attr from the Op.
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasAllowedValues

        boolean hasAllowedValues()
         A list of values that this kernel supports for this attr.
         Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
         
        .org.platanios.tensorflow.proto.AttrValue allowed_values = 2;
        Returns:
        Whether the allowedValues field is set.
      • getAllowedValues

        AttrValue getAllowedValues()
         A list of values that this kernel supports for this attr.
         Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
         
        .org.platanios.tensorflow.proto.AttrValue allowed_values = 2;
        Returns:
        The allowedValues.
      • getAllowedValuesOrBuilder

        AttrValueOrBuilder getAllowedValuesOrBuilder()
         A list of values that this kernel supports for this attr.
         Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
         
        .org.platanios.tensorflow.proto.AttrValue allowed_values = 2;