OpDef.AttrDefOrBuilder

interfaz estática pública OpDef.AttrDefOrBuilder
Subclases indirectas conocidas

Métodos públicos

valor de atributo abstracto
obtenerValoresPermitidos ()
 The set of allowed values.
resumen AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
valor de atributo abstracto
obtenerValorPredeterminado ()
 A reasonable default for this attribute if the user does not supply
 a value.
resumen AttrValueOrBuilder
getDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
cadena abstracta
obtener descripción ()
 Human-readable description.
resumen com.google.protobuf.ByteString
obtenerDescripciónBytes ()
 Human-readable description.
booleano abstracto
getHasMinimum ()
 For type == "int", this is a minimum value.
resumen largo
obtener mínimo ()
int64 minimum = 6;
cadena abstracta
obtenerNombre ()
 A descriptive name for the argument.
resumen com.google.protobuf.ByteString
getNombreBytes ()
 A descriptive name for the argument.
cadena abstracta
obtener tipo ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
resumen com.google.protobuf.ByteString
obtenerTipoBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
booleano abstracto
tieneAllowedValues ()
 The set of allowed values.
booleano abstracto
tiene valor predeterminado ()
 A reasonable default for this attribute if the user does not supply
 a value.

Métodos públicos

resumen público 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;

resumen público 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;

resumen público 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;

resumen público 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;

Cadena abstracta pública getDescription ()

 Human-readable description.
 
string description = 4;

resumen público com.google.protobuf.ByteString getDescriptionBytes ()

 Human-readable description.
 
string description = 4;

getHasMinimum booleano abstracto público ()

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

resumen público largo getMinimum ()

int64 minimum = 6;

Cadena abstracta pública 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;

resumen público 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;

Cadena abstracta pública getType ()

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

resumen público com.google.protobuf.ByteString getTypeBytes ()

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

hasAllowedValues ​​booleano abstracto público ()

 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;

hasDefaultValue booleano abstracto público ()

 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;