Package org.tensorflow.framework
Class OpDef.AttrDef.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
- org.tensorflow.framework.OpDef.AttrDef.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,OpDef.AttrDefOrBuilder
- Enclosing class:
- OpDef.AttrDef
public static final class OpDef.AttrDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder> implements OpDef.AttrDefOrBuilder
Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.
Protobuf typetensorflow.OpDef.AttrDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpDef.AttrDef.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OpDef.AttrDef
build()
OpDef.AttrDef
buildPartial()
OpDef.AttrDef.Builder
clear()
OpDef.AttrDef.Builder
clearAllowedValues()
The set of allowed values.OpDef.AttrDef.Builder
clearDefaultValue()
A reasonable default for this attribute if the user does not supply a value.OpDef.AttrDef.Builder
clearDescription()
Human-readable description.OpDef.AttrDef.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
OpDef.AttrDef.Builder
clearHasMinimum()
For type == "int", this is a minimum value.OpDef.AttrDef.Builder
clearMinimum()
int64 minimum = 6;
OpDef.AttrDef.Builder
clearName()
A descriptive name for the argument.OpDef.AttrDef.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
OpDef.AttrDef.Builder
clearType()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).OpDef.AttrDef.Builder
clone()
AttrValue
getAllowedValues()
The set of allowed values.AttrValue.Builder
getAllowedValuesBuilder()
The set of allowed values.AttrValueOrBuilder
getAllowedValuesOrBuilder()
The set of allowed values.OpDef.AttrDef
getDefaultInstanceForType()
AttrValue
getDefaultValue()
A reasonable default for this attribute if the user does not supply a value.AttrValue.Builder
getDefaultValueBuilder()
A reasonable default for this attribute if the user does not supply a value.AttrValueOrBuilder
getDefaultValueOrBuilder()
A reasonable default for this attribute if the user does not supply a value.String
getDescription()
Human-readable description.org.nd4j.shade.protobuf.ByteString
getDescriptionBytes()
Human-readable description.static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getHasMinimum()
For type == "int", this is a minimum value.long
getMinimum()
int64 minimum = 6;
String
getName()
A descriptive name for the argument.org.nd4j.shade.protobuf.ByteString
getNameBytes()
A descriptive name for the argument.String
getType()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).org.nd4j.shade.protobuf.ByteString
getTypeBytes()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).boolean
hasAllowedValues()
The set of allowed values.boolean
hasDefaultValue()
A reasonable default for this attribute if the user does not supply a value.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OpDef.AttrDef.Builder
mergeAllowedValues(AttrValue value)
The set of allowed values.OpDef.AttrDef.Builder
mergeDefaultValue(AttrValue value)
A reasonable default for this attribute if the user does not supply a value.OpDef.AttrDef.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
OpDef.AttrDef.Builder
mergeFrom(OpDef.AttrDef other)
OpDef.AttrDef.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
OpDef.AttrDef.Builder
setAllowedValues(AttrValue value)
The set of allowed values.OpDef.AttrDef.Builder
setAllowedValues(AttrValue.Builder builderForValue)
The set of allowed values.OpDef.AttrDef.Builder
setDefaultValue(AttrValue value)
A reasonable default for this attribute if the user does not supply a value.OpDef.AttrDef.Builder
setDefaultValue(AttrValue.Builder builderForValue)
A reasonable default for this attribute if the user does not supply a value.OpDef.AttrDef.Builder
setDescription(String value)
Human-readable description.OpDef.AttrDef.Builder
setDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)
Human-readable description.OpDef.AttrDef.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
OpDef.AttrDef.Builder
setHasMinimum(boolean value)
For type == "int", this is a minimum value.OpDef.AttrDef.Builder
setMinimum(long value)
int64 minimum = 6;
OpDef.AttrDef.Builder
setName(String value)
A descriptive name for the argument.OpDef.AttrDef.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
A descriptive name for the argument.OpDef.AttrDef.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OpDef.AttrDef.Builder
setType(String value)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).OpDef.AttrDef.Builder
setTypeBytes(org.nd4j.shade.protobuf.ByteString value)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).OpDef.AttrDef.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
clear
public OpDef.AttrDef.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
getDefaultInstanceForType
public OpDef.AttrDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OpDef.AttrDef build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OpDef.AttrDef buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OpDef.AttrDef.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
setField
public OpDef.AttrDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
clearField
public OpDef.AttrDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
clearOneof
public OpDef.AttrDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
setRepeatedField
public OpDef.AttrDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
addRepeatedField
public OpDef.AttrDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
mergeFrom
public OpDef.AttrDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OpDef.AttrDef.Builder>
-
mergeFrom
public OpDef.AttrDef.Builder mergeFrom(OpDef.AttrDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
mergeFrom
public OpDef.AttrDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OpDef.AttrDef.Builder>
- Throws:
IOException
-
getName
public String getName()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
- Specified by:
getName
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
- Specified by:
getNameBytes
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The bytes for name.
-
setName
public OpDef.AttrDef.Builder setName(String value)
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public OpDef.AttrDef.Builder clearName()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public OpDef.AttrDef.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
public String getType()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
- Specified by:
getType
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The type.
-
getTypeBytes
public org.nd4j.shade.protobuf.ByteString getTypeBytes()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
- Specified by:
getTypeBytes
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The bytes for type.
-
setType
public OpDef.AttrDef.Builder setType(String value)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public OpDef.AttrDef.Builder clearType()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
- Returns:
- This builder for chaining.
-
setTypeBytes
public OpDef.AttrDef.Builder setTypeBytes(org.nd4j.shade.protobuf.ByteString value)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasDefaultValue
public boolean hasDefaultValue()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
- Specified by:
hasDefaultValue
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
public AttrValue getDefaultValue()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
- Specified by:
getDefaultValue
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The defaultValue.
-
setDefaultValue
public OpDef.AttrDef.Builder setDefaultValue(AttrValue value)
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
-
setDefaultValue
public OpDef.AttrDef.Builder setDefaultValue(AttrValue.Builder builderForValue)
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
-
mergeDefaultValue
public OpDef.AttrDef.Builder mergeDefaultValue(AttrValue value)
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
-
clearDefaultValue
public OpDef.AttrDef.Builder clearDefaultValue()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
-
getDefaultValueBuilder
public AttrValue.Builder getDefaultValueBuilder()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
-
getDefaultValueOrBuilder
public AttrValueOrBuilder getDefaultValueOrBuilder()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
- Specified by:
getDefaultValueOrBuilder
in interfaceOpDef.AttrDefOrBuilder
-
getDescription
public String getDescription()
Human-readable description.
string description = 4;
- Specified by:
getDescription
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
Human-readable description.
string description = 4;
- Specified by:
getDescriptionBytes
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public OpDef.AttrDef.Builder setDescription(String value)
Human-readable description.
string description = 4;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public OpDef.AttrDef.Builder clearDescription()
Human-readable description.
string description = 4;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public OpDef.AttrDef.Builder setDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)
Human-readable description.
string description = 4;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getHasMinimum
public boolean getHasMinimum()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
- Specified by:
getHasMinimum
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The hasMinimum.
-
setHasMinimum
public OpDef.AttrDef.Builder setHasMinimum(boolean value)
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
- Parameters:
value
- The hasMinimum to set.- Returns:
- This builder for chaining.
-
clearHasMinimum
public OpDef.AttrDef.Builder clearHasMinimum()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
- Returns:
- This builder for chaining.
-
getMinimum
public long getMinimum()
int64 minimum = 6;
- Specified by:
getMinimum
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The minimum.
-
setMinimum
public OpDef.AttrDef.Builder setMinimum(long value)
int64 minimum = 6;
- Parameters:
value
- The minimum to set.- Returns:
- This builder for chaining.
-
clearMinimum
public OpDef.AttrDef.Builder clearMinimum()
int64 minimum = 6;
- Returns:
- This builder for chaining.
-
hasAllowedValues
public boolean hasAllowedValues()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
- Specified by:
hasAllowedValues
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- Whether the allowedValues field is set.
-
getAllowedValues
public AttrValue getAllowedValues()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
- Specified by:
getAllowedValues
in interfaceOpDef.AttrDefOrBuilder
- Returns:
- The allowedValues.
-
setAllowedValues
public OpDef.AttrDef.Builder setAllowedValues(AttrValue value)
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
-
setAllowedValues
public OpDef.AttrDef.Builder setAllowedValues(AttrValue.Builder builderForValue)
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
-
mergeAllowedValues
public OpDef.AttrDef.Builder mergeAllowedValues(AttrValue value)
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
-
clearAllowedValues
public OpDef.AttrDef.Builder clearAllowedValues()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
-
getAllowedValuesBuilder
public AttrValue.Builder getAllowedValuesBuilder()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
-
getAllowedValuesOrBuilder
public AttrValueOrBuilder getAllowedValuesOrBuilder()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
- Specified by:
getAllowedValuesOrBuilder
in interfaceOpDef.AttrDefOrBuilder
-
setUnknownFields
public final OpDef.AttrDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
mergeUnknownFields
public final OpDef.AttrDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.AttrDef.Builder>
-
-