OpDef.AttrDef.Builder

clase final estática pública 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.
 
Protobuf tipo tensorflow.OpDef.AttrDef

Métodos públicos

OpDef.AttrDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
OpDef.AttrDef
OpDef.AttrDef
OpDef.AttrDef.Builder
claro ()
OpDef.AttrDef.Builder
borrarValoresPermitidos ()
 The set of allowed values.
OpDef.AttrDef.Builder
borrar valor predeterminado ()
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
borrarDescripción ()
 Human-readable description.
OpDef.AttrDef.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
OpDef.AttrDef.Builder
borrarHasMinimum ()
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
claroMínimo ()
int64 minimum = 6;
OpDef.AttrDef.Builder
borrar nombre ()
 A descriptive name for the argument.
OpDef.AttrDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de)
OpDef.AttrDef.Builder
tipo claro ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
clonar ()
ValorAtributo
obtenerValoresPermitidos ()
 The set of allowed values.
AttrValue.Constructor
getAllowedValuesBuilder ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
OpDef.AttrDef
ValorAtributo
obtenerValorPredeterminado ()
 A reasonable default for this attribute if the user does not supply
 a value.
AttrValue.Constructor
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.
Cadena
obtener descripción ()
 Human-readable description.
com.google.protobuf.ByteString
obtenerDescripciónBytes ()
 Human-readable description.
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
booleano
getHasMinimum ()
 For type == "int", this is a minimum value.
largo
obtener mínimo ()
int64 minimum = 6;
Cadena
obtenerNombre ()
 A descriptive name for the argument.
com.google.protobuf.ByteString
getNombreBytes ()
 A descriptive name for the argument.
Cadena
obtener tipo ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
com.google.protobuf.ByteString
obtenerTipoBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
booleano
tieneAllowedValues ()
 The set of allowed values.
booleano
tiene valor predeterminado ()
 A reasonable default for this attribute if the user does not supply
 a value.
booleano final
OpDef.AttrDef.Builder
mergeAllowedValues ​​(valor AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
mergeDefaultValue (valor AttrValue )
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
mergeFrom (com.google.protobuf.Message otro)
OpDef.AttrDef.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
OpDef.AttrDef.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
OpDef.AttrDef.Builder
setAllowedValues ​​( AttrValue.Builder constructorForValue)
 The set of allowed values.
OpDef.AttrDef.Builder
setAllowedValues ​​(valor AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
setDefaultValue (valor AttrValue )
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
setDefaultValue ( AttrValue.Builder constructorForValue)
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
setDescription (valor de cadena)
 Human-readable description.
OpDef.AttrDef.Builder
setDescriptionBytes (valor com.google.protobuf.ByteString)
 Human-readable description.
OpDef.AttrDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
OpDef.AttrDef.Builder
setHasMinimum (valor booleano)
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
setMinimum (valor largo)
int64 minimum = 6;
OpDef.AttrDef.Builder
setName (valor de cadena)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setNameBytes (valor com.google.protobuf.ByteString)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
OpDef.AttrDef.Builder
setType (valor de cadena)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
setTypeBytes (valor com.google.protobuf.ByteString)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

Métodos heredados

Métodos públicos

público OpDef.AttrDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

compilación pública OpDef.AttrDef ()

público OpDef.AttrDef buildPartial ()

público OpDef.AttrDef.Builder claro ()

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

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

pública OpDef.AttrDef.Builder clearDescription ()

 Human-readable description.
 
string description = 4;

público OpDef.AttrDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

público OpDef.AttrDef.Builder clearHasMinimum ()

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

público OpDef.AttrDef.Builder clearMinimum ()

int64 minimum = 6;

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

público OpDef.AttrDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

público OpDef.AttrDef.Builder clearType ()

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

clon público OpDef.AttrDef.Builder ()

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;

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

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;

público OpDef.AttrDef getDefaultInstanceForType ()

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;

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

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 pública getDescription ()

 Human-readable description.
 
string description = 4;

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

 Human-readable description.
 
string description = 4;

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

getHasMinimum booleano público ()

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

público largo getMinimum ()

int64 minimum = 6;

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

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;

getType de cadena pública ()

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

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 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 público booleano ()

 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;

público final booleano isInitialized ()

público OpDef.AttrDef.Builder mergeAllowedValues ​​(valor 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;

público OpDef.AttrDef.Builder mergeDefaultValue (valor 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;

público OpDef.AttrDef.Builder mergeFrom (com.google.protobuf.Message otro)

OpDef.AttrDef.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)

Lanza
IOExcepción

público final OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

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

público OpDef.AttrDef.Builder setAllowedValues ​​(valor 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;

público OpDef.AttrDef.Builder setDefaultValue (valor 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;

público 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 (valor de cadena)

 Human-readable description.
 
string description = 4;

público OpDef.AttrDef.Builder setDescriptionBytes (valor com.google.protobuf.ByteString)

 Human-readable description.
 
string description = 4;

público OpDef.AttrDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

público OpDef.AttrDef.Builder setHasMinimum (valor booleano)

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

público OpDef.AttrDef.Builder setMinimum (valor largo)

int64 minimum = 6;

público OpDef.AttrDef.Builder setName (valor de cadena)

 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;

público OpDef.AttrDef.Builder setNameBytes (valor 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;

público OpDef.AttrDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)

público OpDef.AttrDef.Builder setType (valor de cadena)

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

público OpDef.AttrDef.Builder setTypeBytes (valor com.google.protobuf.ByteString)

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

público final OpDef.AttrDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)