classe finale statica pubblica OpDef.AttrDef.Builder
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.Tipo di protocollo
tensorflow.OpDef.AttrDef
Metodi pubblici
OpDef.AttrDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
OpDef.AttrDef | costruire () |
OpDef.AttrDef | buildPartial () |
OpDef.AttrDef.Builder | chiaro () |
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 | clearDescrizione () Human-readable description. |
OpDef.AttrDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.AttrDef.Builder | clearHasMinimum () For type == "int", this is a minimum value. |
OpDef.AttrDef.Builder | cancellaMinimo () int64 minimum = 6; |
OpDef.AttrDef.Builder | nomechiaro () A descriptive name for the argument. |
OpDef.AttrDef.Builder | clearOneof (com.google.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 | getValoriConsentiti () The set of allowed values. |
AttrValue.Builder | getAllowedValuesBuilder () The set of allowed values. |
AttrValueOrBuilder | getAllowedValuesOrBuilder () The set of allowed values. |
OpDef.AttrDef | |
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. |
Corda | getDescrizione () Human-readable description. |
com.google.protobuf.ByteString | getDescrizioneBytes () Human-readable description. |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
booleano | getHasMinimum () For type == "int", this is a minimum value. |
lungo | getMinimo () int64 minimum = 6; |
Corda | getNome () A descriptive name for the argument. |
com.google.protobuf.ByteString | getNomeBytes () A descriptive name for the argument. |
Corda | getType () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
com.google.protobuf.ByteString | getTypeBytes () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
booleano | hasAllowedValues () The set of allowed values. |
booleano | hasDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
booleano finale | |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | mergeDefaultValue (valore AttrValue ) A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | mergeFrom (com.google.protobuf.Message altro) |
OpDef.AttrDef.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
finale OpDef.AttrDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | setDefaultValue (valore AttrValue ) 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 (valore stringa) Human-readable description. |
OpDef.AttrDef.Builder | setDescriptionBytes (valore com.google.protobuf.ByteString) Human-readable description. |
OpDef.AttrDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
OpDef.AttrDef.Builder | setHasMinimum (valore booleano) For type == "int", this is a minimum value. |
OpDef.AttrDef.Builder | setMinimum (valore lungo) int64 minimum = 6; |
OpDef.AttrDef.Builder | setName (valore stringa) A descriptive name for the argument. |
OpDef.AttrDef.Builder | setNameBytes (valore com.google.protobuf.ByteString) A descriptive name for the argument. |
OpDef.AttrDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
OpDef.AttrDef.Builder | setType (valore stringa) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
OpDef.AttrDef.Builder | setTypeBytes (valore com.google.protobuf.ByteString) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
finale OpDef.AttrDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public OpDef.AttrDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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;
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;
public OpDef.AttrDef.Builder clearDescription ()
Human-readable description.
string description = 4;
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;
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;
public OpDef.AttrDef.Builder clearType ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
pubblico 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;
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;
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;
pubblico 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;
pubblico 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;
pubblico 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;
stringa pubblica getDescription ()
Human-readable description.
string description = 4;
pubblico com.google.protobuf.ByteString getDescriptionBytes ()
Human-readable description.
string description = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
pubblico booleano getHasMinimum ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
pubblico lungo getMinimum ()
int64 minimum = 6;
stringa pubblica 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;
pubblico com.google.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;
stringa pubblica getType ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
pubblico com.google.protobuf.ByteString getTypeBytes ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
booleano pubblico 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;
pubblico booleano 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;
public final booleano isInitialized ()
public OpDef.AttrDef.Builder mergeAllowedValues (valore AttrValue )
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;
public OpDef.AttrDef.Builder mergeDefaultValue (valore AttrValue )
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;
public OpDef.AttrDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
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;
public OpDef.AttrDef.Builder setAllowedValues (valore AttrValue )
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;
public OpDef.AttrDef.Builder setDefaultValue (valore AttrValue )
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;
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;
public OpDef.AttrDef.Builder setDescription (valore stringa)
Human-readable description.
string description = 4;
pubblico OpDef.AttrDef.Builder setDescriptionBytes (valore com.google.protobuf.ByteString)
Human-readable description.
string description = 4;
public OpDef.AttrDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public OpDef.AttrDef.Builder setHasMinimum (valore booleano)
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
public OpDef.AttrDef.Builder setName (valore stringa)
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;
pubblico OpDef.AttrDef.Builder setNameBytes (valore com.google.protobuf.ByteString)
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;
public OpDef.AttrDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
public OpDef.AttrDef.Builder setType (valore stringa)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
pubblico OpDef.AttrDef.Builder setTypeBytes (valore com.google.protobuf.ByteString)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;