public static interface OpDef.AttrDefOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AttrValue |
getAllowedValues()
The set of allowed values.
|
AttrValueOrBuilder |
getAllowedValuesOrBuilder()
The set of allowed values.
|
AttrValue |
getDefaultValue()
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.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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;
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;
String getType()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
org.nd4j.shade.protobuf.ByteString getTypeBytes()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
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;
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;
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;
String getDescription()
Human-readable description.
string description = 4;
org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
Human-readable description.
string description = 4;
boolean getHasMinimum()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
long getMinimum()
int64 minimum = 6;
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;
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;
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;
Copyright © 2019. All rights reserved.