Package org.tensorflow.framework
Interface KernelDef.AttrConstraintOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KernelDef.AttrConstraint,KernelDef.AttrConstraint.Builder
- Enclosing class:
- KernelDef
public static interface KernelDef.AttrConstraintOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttrValuegetAllowedValues()A list of values that this kernel supports for this attr.AttrValueOrBuildergetAllowedValuesOrBuilder()A list of values that this kernel supports for this attr.StringgetName()Name of an attr from the Op.org.nd4j.shade.protobuf.ByteStringgetNameBytes()Name of an attr from the Op.booleanhasAllowedValues()A list of values that this kernel supports for this attr.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of an attr from the Op.
string name = 1;- Returns:
- The name.
-
getNameBytes
org.nd4j.shade.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.
.tensorflow.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.
.tensorflow.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.
.tensorflow.AttrValue allowed_values = 2;
-
-