OpDef.AttrDefOrBuilder

interface statique publique OpDef.AttrDefOrBuilder
Sous-classes indirectes connues

Méthodes publiques

valeur d'attribut abstraite
getAllowedValues ​​()
 The set of allowed values.
abstrait AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
valeur d'attribut abstraite
getDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
abstrait AttrValueOrBuilder
getDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
chaîne abstraite
obtenirDescription ()
 Human-readable description.
résumé com.google.protobuf.ByteString
getDescriptionBytes ()
 Human-readable description.
booléen abstrait
getHasMinimum ()
 For type == "int", this is a minimum value.
abstrait long
obtenirMinimum ()
int64 minimum = 6;
chaîne abstraite
obtenirNom ()
 A descriptive name for the argument.
résumé com.google.protobuf.ByteString
getNameBytes ()
 A descriptive name for the argument.
chaîne abstraite
getType ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
résumé com.google.protobuf.ByteString
getTypeBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
booléen abstrait
hasAllowedValues ​​()
 The set of allowed values.
booléen abstrait
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.

Méthodes publiques

résumé 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;

résumé 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;

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

résumé 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;

chaîne abstraite publique getDescription ()

 Human-readable description.
 
string description = 4;

résumé public com.google.protobuf.ByteString getDescriptionBytes ()

 Human-readable description.
 
string description = 4;

public abstrait booléen getHasMinimum ()

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

public abstrait long getMinimum ()

int64 minimum = 6;

chaîne abstraite publique 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;

résumé public com.google.protobuf.ByteString getNameBytes ()

nom de chaîne

 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;

chaîne abstraite publique getType ()

type de chaîne

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

résumé public com.google.protobuf.ByteString getTypeBytes ()

type de chaîne

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

public abstrait booléen 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 abstrait booléen 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;