OpDef.AttrDef

clase final estática pública OpDef.AttrDef

 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

Clases anidadas

clase OpDef.AttrDef.Builder
 Description of the graph-construction-time configuration of this
 Op. 

Constantes

En t ALLOWED_VALUES_FIELD_NUMBER
En t DEFAULT_VALUE_FIELD_NUMBER
En t DESCRIPTION_FIELD_NUMBER
En t HAS_MINIMUM_FIELD_NUMBER
En t MINIMUM_FIELD_NUMBER
En t NOMBRE_CAMPO_NÚMERO
En t TYPE_FIELD_NUMBER

Métodos públicos

booleano
es igual (Objeto obj)
ValorAtributo
obtenerValoresPermitidos ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
OpDef.AttrDef estático
OpDef.AttrDef
ValorAtributo
obtenerValorPredeterminado ()
 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
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.
En t
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.).
com.google.protobuf.UnknownFieldSet final
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.
En t
booleano final
OpDef.AttrDef.Builder estático
OpDef.AttrDef.Builder estático
OpDef.AttrDef.Builder
OpDef.AttrDef estático
parseDelimitedFrom (entrada de InputStream)
OpDef.AttrDef estático
parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (datos de ByteBuffer)
OpDef.AttrDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
OpDef.AttrDef estático
parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
OpDef.AttrDef estático
parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (datos com.google.protobuf.ByteString)
OpDef.AttrDef estático
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
OpDef.AttrDef.Builder
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

int final estático público ALLOWED_VALUES_FIELD_NUMBER

Valor constante: 7

int final estático público DEFAULT_VALUE_FIELD_NUMBER

Valor constante: 3

int final estático público DESCRIPTION_FIELD_NUMBER

Valor constante: 4

int final estático público HAS_MINIMUM_FIELD_NUMBER

Valor constante: 5

int final estático público MINIMUM_FIELD_NUMBER

Valor constante: 6

público estático final int NAME_FIELD_NUMBER

Valor constante: 1

int final estático público TYPE_FIELD_NUMBER

Valor constante: 2

Métodos públicos

público booleano es igual (Objeto obj)

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 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 estático OpDef.AttrDef getDefaultInstance ()

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 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 ()

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;

público getParserForType ()

público int getSerializedSize ()

getType de cadena pública ()

tipo de cadena

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

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

tipo de cadena

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

público final com.google.protobuf.UnknownFieldSet getUnknownFields ()

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;

código hash int público ()

público final booleano isInitialized ()

público estático OpDef.AttrDef.Builder newBuilder (prototipo OpDef.AttrDef )

pública estática OpDef.AttrDef.Builder newBuilder ()

público OpDef.AttrDef.Builder newBuilderForType ()

OpDef.AttrDef estático público parseDelimitedFrom (entrada de InputStream)

Lanza
IOExcepción

público estático OpDef.AttrDef parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

público estático OpDef.AttrDef parseFrom (datos ByteBuffer)

Lanza
Excepción de buffer de protocolo no válido

público estático OpDef.AttrDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

público estático OpDef.AttrDef parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

público estático OpDef.AttrDef parseFrom (entrada com.google.protobuf.CodedInputStream)

Lanza
IOExcepción

público estático OpDef.AttrDef parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

público estático OpDef.AttrDef parseFrom (datos com.google.protobuf.ByteString)

Lanza
Excepción de buffer de protocolo no válido

público estático OpDef.AttrDef parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

público estático OpDef.AttrDef parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

estática pública analizador ()

público OpDef.AttrDef.Builder toBuilder ()

escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOExcepción