AttrValue

clase final pública AttrValue

 Protocol buffer representing the value for an attr used to configure an Op.
 Comment indicates the corresponding attr type.  Only the field matching the
 attr type may be filled.
 
Protobuf tipo tensorflow.AttrValue

Clases anidadas

clase AttrValue.Constructor
 Protocol buffer representing the value for an attr used to configure an Op. 
clase AttrValue.ListValue
 LINT.IfChange
 
Protobuf tipo tensorflow.AttrValue.ListValue
interfaz AttrValue.ListValueOrBuilder
enumeración AttrValue.ValueCase

Constantes

En t B_FIELD_NUMBER
En t FUNC_FIELD_NUMBER
En t F_FIELD_NUMBER
En t I_CAMPO_NÚMERO
En t LIST_FIELD_NUMBER
En t PLACEHOLDER_FIELD_NUMBER
En t SHAPE_FIELD_NUMBER
En t S_FIELD_NUMBER
En t TENSOR_FIELD_NUMBER
En t TYPE_FIELD_NUMBER

Métodos públicos

booleano
es igual (Objeto obj)
booleano
obtenerB ()
 "bool"
 
bool b = 5;
valor de atributo estático
ValorAtributo
com.google.protobuf.Descriptors.Descriptor estático final
flotar
obtenerF ()
 "float"
 
float f = 4;
NombreAttrList
obtenerFunc ()
 "func" represents a function.
NombreAttrListOrBuilder
getFuncOrBuilder ()
 "func" represents a function.
largo
Consigo ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
obtener lista ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValueOrBuilder
getListOrBuilder ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
Cadena
obtener marcador de posición ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
obtenerPlaceholderBytes ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
obtiene ()
 "string"
 
bytes s = 2;
En t
TensorShapeProto
obtener forma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorProto
obtenerTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Tipo de datos
obtener tipo ()
 "type"
 
.tensorflow.DataType type = 6;
En t
obtenerTipoValor ()
 "type"
 
.tensorflow.DataType type = 6;
com.google.protobuf.UnknownFieldSet final
AttrValue.ValueCase
booleano
tieneFunc ()
 "func" represents a function.
booleano
tieneLista ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
booleano
tiene forma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
booleano
tieneTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
En t
booleano final
AttrValue.Builder estático
newBuilder (prototipo AttrValue )
AttrValue.Builder estático
AttrValue.Constructor
valor de atributo estático
parseDelimitedFrom (entrada de InputStream)
valor de atributo estático
parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
valor de atributo estático
parseFrom (datos de ByteBuffer)
valor de atributo estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
valor de atributo estático
parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
valor de atributo estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
valor de atributo estático
parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
valor de atributo estático
parseFrom (datos com.google.protobuf.ByteString)
valor de atributo estático
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
valor de atributo estático
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
AttrValue.Constructor
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

int final estático público B_FIELD_NUMBER

Valor constante: 5

int final estático público FUNC_FIELD_NUMBER

Valor constante: 10

int final estático público F_FIELD_NUMBER

Valor constante: 4

int final estático público I_FIELD_NUMBER

Valor constante: 3

int final estático público LIST_FIELD_NUMBER

Valor constante: 1

int final estático público PLACEHOLDER_FIELD_NUMBER

Valor constante: 9

int final estático público SHAPE_FIELD_NUMBER

Valor constante: 7

int final estático público S_FIELD_NUMBER

Valor constante: 2

int final estático público TENSOR_FIELD_NUMBER

Valor constante: 8

int final estático público TYPE_FIELD_NUMBER

Valor constante: 6

Métodos públicos

público booleano es igual (Objeto obj)

getB booleano público ()

 "bool"
 
bool b = 5;

público estático AttrValue getDefaultInstance ()

público AttrValue getDefaultInstanceForType ()

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

getF flotante público ()

 "float"
 
float f = 4;

nombre públicoAttrList getFunc ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

nombre públicoAttrListOrBuilder getFuncOrBuilder ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

público largo getI ()

 "int"
 
int64 i = 3;

público AttrValue.ListValue getList ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

público AttrValue.ListValueOrBuilder getListOrBuilder ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

público getParserForType ()

cadena pública getPlaceholder ()

marcador de posición de cadena

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

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

marcador de posición de cadena

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

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

 "string"
 
bytes s = 2;

público int getSerializedSize ()

público TensorShapeProto getShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

público TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

tipo de datos público getType ()

 "type"
 
.tensorflow.DataType type = 6;

público int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

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

público AttrValue.ValueCase getValueCase ()

hasFunc público booleano ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

hasList público booleano ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

hasShape booleano público ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

hasTensor booleano público ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

código hash int público ()

público final booleano isInitialized ()

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

público estático AttrValue.Builder newBuilder ()

público AttrValue.Builder newBuilderForType ()

AttrValue estático público parseDelimitedFrom (entrada de InputStream)

Lanza
IOExcepción

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

Lanza
IOExcepción

AttrValue público estático parseFrom (datos ByteBuffer)

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

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

Lanza
IOExcepción

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

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

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

Lanza
IOExcepción

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

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

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

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

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

Lanza
IOExcepción

AttrValue estático público 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 AttrValue.Builder toBuilder ()

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

Lanza
IOExcepción