OpDef.AttrDefOrBuilder

interfaccia statica pubblica OpDef.AttrDefOrBuilder
Sottoclassi indirette conosciute

Metodi pubblici

valore attributo astratto
getValoriConsentiti ()
 The set of allowed values.
astratto AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
valore attributo astratto
getDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
astratto AttrValueOrBuilder
getDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
stringa astratta
getDescrizione ()
 Human-readable description.
astratto com.google.protobuf.ByteString
getDescrizioneBytes ()
 Human-readable description.
booleano astratto
getHasMinimum ()
 For type == "int", this is a minimum value.
astratto lungo
getMinimo ()
int64 minimum = 6;
stringa astratta
getNome ()
 A descriptive name for the argument.
astratto com.google.protobuf.ByteString
getNomeBytes ()
 A descriptive name for the argument.
stringa astratta
getType ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
astratto com.google.protobuf.ByteString
getTypeBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
booleano astratto
hasAllowedValues ​​()
 The set of allowed values.
booleano astratto
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.

Metodi pubblici

estratto 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;

abstract pubblico 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;

estratto 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;

estratto 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 astratta pubblica getDescription ()

descrizione stringa

 Human-readable description.
 
string description = 4;

estratto pubblico com.google.protobuf.ByteString getDescriptionBytes ()

descrizione stringa

 Human-readable description.
 
string description = 4;

pubblico astratto booleano getHasMinimum ()

 For type == "int", this is a minimum value.  For "list(___)"
 types, this is the minimum length.
 
bool has_minimum = 5;

pubblico astratto lungo getMinimum ()

int64 minimum = 6;

stringa astratta 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;

estratto 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 astratta pubblica getType ()

tipo stringa

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

estratto pubblico com.google.protobuf.ByteString getTypeBytes ()

tipo stringa

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

public abstract booleano 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;

public abstract 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;