AttrValue.Builder

clase final estática pública AttrValue.Builder

 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

Métodos públicos

AttrValue.Constructor
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
ValorAtributo
ValorAtributo
AttrValue.Constructor
claro ()
AttrValue.Constructor
borrarB ()
 "bool"
 
bool b = 5;
AttrValue.Constructor
claroF ()
 "float"
 
float f = 4;
AttrValue.Constructor
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
AttrValue.Constructor
borrarFunc ()
 "func" represents a function.
AttrValue.Constructor
claroyo ()
 "int"
 
int64 i = 3;
AttrValue.Constructor
lista clara ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Constructor
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de)
AttrValue.Constructor
borrar marcador de posición ()
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Constructor
claro ()
 "string"
 
bytes s = 2;
AttrValue.Constructor
forma clara ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Constructor
claroTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Constructor
tipo claro ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Constructor
AttrValue.Constructor
clonar ()
booleano
obtenerB ()
 "bool"
 
bool b = 5;
ValorAtributo
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
flotar
obtenerF ()
 "float"
 
float f = 4;
NombreAttrList
obtenerFunc ()
 "func" represents a function.
NombreAttrList.Builder
getFuncBuilder ()
 "func" represents a function.
NombreAttrListOrBuilder
getFuncOrBuilder ()
 "func" represents a function.
largo
obtener yo ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
obtener lista ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValue.Builder
getListBuilder ()
 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;
TensorShapeProto
obtener forma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
getShapeBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorProto
obtenerTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProto.Builder
obtenerTensorBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Tipo de datos
obtener tipo ()
 "type"
 
.tensorflow.DataType type = 6;
entero
obtenerTipoValor ()
 "type"
 
.tensorflow.DataType type = 6;
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;
booleano final
AttrValue.Constructor
mergeFrom (com.google.protobuf.Message otro)
AttrValue.Constructor
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
AttrValue.Constructor
mergeFunc (valor NameAttrList )
 "func" represents a function.
AttrValue.Constructor
mergeList (valor AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Constructor
mergeShape (valor TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Constructor
mergeTensor (valor TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
final AttrValue.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
AttrValue.Constructor
setB (valor booleano)
 "bool"
 
bool b = 5;
AttrValue.Constructor
setF (valor flotante)
 "float"
 
float f = 4;
AttrValue.Constructor
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
AttrValue.Constructor
setFunc ( NameAttrList.Builder constructorForValue)
 "func" represents a function.
AttrValue.Constructor
setFunc (valor NameAttrList )
 "func" represents a function.
AttrValue.Constructor
setI (valor largo)
 "int"
 
int64 i = 3;
AttrValue.Constructor
setList (valor AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Constructor
setList ( AttrValue.ListValue.Builder constructorForValue)
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Constructor
setPlaceholder (valor de cadena)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Constructor
setPlaceholderBytes (valor com.google.protobuf.ByteString)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Constructor
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
AttrValue.Constructor
conjuntos (valor com.google.protobuf.ByteString)
 "string"
 
bytes s = 2;
AttrValue.Constructor
setShape (valor TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Constructor
setShape ( TensorShapeProto.Builder constructorForValue)
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Constructor
setTensor ( TensorProto.Builder constructorForValue)
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Constructor
setTensor (valor TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Constructor
setType (valor de tipo de datos )
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Constructor
setTypeValue (valor int)
 "type"
 
.tensorflow.DataType type = 6;
final AttrValue.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

Métodos heredados

Métodos públicos

public AttrValue.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

compilación pública AttrValue ()

público AttrValue buildPartial ()

público AttrValue.Builder claro ()

público AttrValue.Builder clearB ()

 "bool"
 
bool b = 5;

público AttrValue.Builder clearF ()

 "float"
 
float f = 4;

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

público AttrValue.Builder clearFunc ()

 "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 AttrValue.Builder clearI ()

 "int"
 
int64 i = 3;

público AttrValue.Builder clearList ()

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

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

público AttrValue.Builder clearPlaceholder ()

 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 AttrValue.Builder clearS ()

 "string"
 
bytes s = 2;

público AttrValue.Builder clearShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público AttrValue.Builder clearTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

público AttrValue.Builder clearType ()

 "type"
 
.tensorflow.DataType type = 6;

público AttrValue.Builder clearValue ()

clon público AttrValue.Builder ()

getB booleano público ()

 "bool"
 
bool b = 5;

público AttrValue getDefaultInstanceForType ()

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

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

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úblicoAttrList.Builder getFuncBuilder ()

 "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.ListValue.Builder getListBuilder ()

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

público AttrValue.ListValueOrBuilder getListOrBuilder ()

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

cadena pública getPlaceholder ()

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

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

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público TensorShapeProto.Builder getShapeBuilder ()

 "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 TensorProto.Builder getTensorBuilder ()

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

público final booleano isInitialized ()

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

public AttrValue.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

public AttrValue.Builder mergeFunc (valor NameAttrList )

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

public AttrValue.Builder mergeList (valor AttrValue.ListValue )

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

público AttrValue.Builder mergeShape (valor TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder mergeTensor (valor TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

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

público AttrValue.Builder setB (valor booleano)

 "bool"
 
bool b = 5;

público AttrValue.Builder setF (valor flotante)

 "float"
 
float f = 4;

public AttrValue.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

public AttrValue.Builder setFunc ( NameAttrList.Builder builderForValue)

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

public AttrValue.Builder setFunc (valor NameAttrList )

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

public AttrValue.Builder setI (valor largo)

 "int"
 
int64 i = 3;

público AttrValue.Builder setList (valor AttrValue.ListValue )

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

público AttrValue.Builder setList ( AttrValue.ListValue.Builder builderForValue)

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

public AttrValue.Builder setPlaceholder (valor 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 AttrValue.Builder setPlaceholderBytes (valor com.google.protobuf.ByteString)

 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;

public AttrValue.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)

conjuntos públicos AttrValue.Builder (valor com.google.protobuf.ByteString)

 "string"
 
bytes s = 2;

público AttrValue.Builder setShape (valor TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público AttrValue.Builder setShape ( TensorShapeProto.Builder builderForValue)

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público AttrValue.Builder setTensor ( TensorProto.Builder builderForValue)

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

público AttrValue.Builder setTensor (valor TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

público AttrValue.Builder setType (valor de tipo de datos )

 "type"
 
.tensorflow.DataType type = 6;

público AttrValue.Builder setTypeValue (valor int)

 "type"
 
.tensorflow.DataType type = 6;

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