AttrValue.Builder

classe 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.
 
Tipo de protobuf tensorflow.AttrValue

Métodos Públicos

AttrValue.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
Valor de atributo
Valor de atributo
AttrValue.Builder
claro ()
AttrValue.Builder
limparB ()
 "bool"
 
bool b = 5;
AttrValue.Builder
limparF ()
 "float"
 
float f = 4;
AttrValue.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
AttrValue.Builder
limparFunc ()
 "func" represents a function.
AttrValue.Builder
claroI ()
 "int"
 
int64 i = 3;
AttrValue.Builder
limparlista ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof)
AttrValue.Builder
limparPlaceholder ()
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
limparS ()
 "string"
 
bytes s = 2;
AttrValue.Builder
limparForma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
limparTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
limparType ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
AttrValue.Builder
clonar ()
booleano
obterB ()
 "bool"
 
bool b = 5;
Valor de atributo
final estático com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
flutuador
obterF ()
 "float"
 
float f = 4;
NomeAttrList
getFunc ()
 "func" represents a function.
NomeAttrList.Builder
getFuncBuilder ()
 "func" represents a function.
NameAttrListOrBuilder
getFuncOrBuilder ()
 "func" represents a function.
longo
pegar eu ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
getLista ()
 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;
Corda
getPlaceholder ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
getPlaceholderBytes ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
obterS ()
 "string"
 
bytes s = 2;
TensorShapeProto
obterForma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
getShapeBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorProto
obterTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProto.Builder
getTensorBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Tipo de dados
getType ()
 "type"
 
.tensorflow.DataType type = 6;
interno
getTypeValue ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.ValueCase
booleano
hasFunc ()
 "func" represents a function.
booleano
hasList ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
booleano
temForma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
booleano
temTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
booleano final
AttrValue.Builder
mergeFrom (com.google.protobuf.Message outro)
AttrValue.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue.Builder
mergeFunc (valor NameAttrList )
 "func" represents a function.
AttrValue.Builder
mergeList (valor AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
mergeShape (valor TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
mergeTensor (valor TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
final AttrValue.Builder
mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
AttrValue.Builder
setB (valor booleano)
 "bool"
 
bool b = 5;
AttrValue.Builder
setF (valor flutuante)
 "float"
 
float f = 4;
AttrValue.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
AttrValue.Builder
setFunc ( NameAttrList.Builder construtorForValue)
 "func" represents a function.
AttrValue.Builder
setFunc (valor NameAttrList )
 "func" represents a function.
AttrValue.Builder
setI (valor longo)
 "int"
 
int64 i = 3;
AttrValue.Builder
setList (valor AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
setList ( AttrValue.ListValue.Builder construtorForValue)
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
setPlaceholder (valor da string)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setPlaceholderBytes (valor com.google.protobuf.ByteString)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
AttrValue.Builder
setS (valor com.google.protobuf.ByteString)
 "string"
 
bytes s = 2;
AttrValue.Builder
setShape (valor TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setShape ( TensorShapeProto.Builder construtorForValue)
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setTensor ( TensorProto.Builder construtorForValue)
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setTensor (valor TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setType (valor DataType )
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
setTypeValue (valor interno)
 "type"
 
.tensorflow.DataType type = 6;
final AttrValue.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)

Métodos herdados

Métodos Públicos

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

construção de AttrValue público ()

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;

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

clone público AttrValue.Builder ()

getB booleano público ()

 "bool"
 
bool b = 5;

público AttrValue getDefaultInstanceForType ()

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

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

flutuador público getF ()

 "float"
 
float f = 4;

public NameAttrList 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;

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

public NameAttrListOrBuilder 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 longo 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;

String 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 dados público getType ()

 "type"
 
.tensorflow.DataType type = 6;

público int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

public AttrValue.ValueCase getValueCase ()

hasFunc booleano público ()

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

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

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

Lança
IOException

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;

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

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

public AttrValue.Builder mergeShape (valor TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

público AttrValue.Builder mergeTensor (valor TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

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

public AttrValue.Builder setB (valor booleano)

 "bool"
 
bool b = 5;

público AttrValue.Builder setF (valor flutuante)

 "float"
 
float f = 4;

public AttrValue.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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;

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

 "int"
 
int64 i = 3;

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

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

public AttrValue.Builder setList ( AttrValue.ListValue.Builder builderForValue)

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

público AttrValue.Builder setPlaceholder (valor da string)

 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 do objeto)

public AttrValue.Builder setS (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;

public AttrValue.Builder setType (valor DataType )

 "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 desconhecidoFields)