AttrValue.Builder

classe finale statique publique 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.
 
tensorflow.AttrValue de type Protobuf.AttrValue

Méthodes publiques

AttrValue.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
Valeur d'attribut
Valeur d'attribut
AttrValue.Builder
clair ()
AttrValue.Builder
effacerB ()
 "bool"
 
bool b = 5;
AttrValue.Builder
clairF ()
 "float"
 
float f = 4;
AttrValue.Builder
clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
AttrValue.Builder
clearFunc ()
 "func" represents a function.
AttrValue.Builder
effacerJe ()
 "int"
 
int64 i = 3;
AttrValue.Builder
liste claire ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttrValue.Builder
clearPlaceholder ()
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
effacerS ()
 "string"
 
bytes s = 2;
AttrValue.Builder
forme claire ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
clearTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
Type clair ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
AttrValue.Builder
cloner ()
booléen
obtenirB ()
 "bool"
 
bool b = 5;
Valeur d'attribut
final statique com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
flotter
obtenirF ()
 "float"
 
float f = 4;
NomAttrListe
getFunc ()
 "func" represents a function.
NameAttrList.Builder
getFuncBuilder ()
 "func" represents a function.
NomAttrListeOuBuilder
getFuncOrBuilder ()
 "func" represents a function.
long
obtenir je ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
obtenirListe ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValue.Builder
getListBuilder ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValueOrBuilder
getListeOuBuilder ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
Chaîne
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
obtientS ()
 "string"
 
bytes s = 2;
TensorShapeProto
obtenirForme ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
getShapeBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorProto
getTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProto.Builder
getTensorBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Type de données
getType ()
 "type"
 
.tensorflow.DataType type = 6;
int
getTypeValue ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.ValueCase
booléen
hasFunc ()
 "func" represents a function.
booléen
aListe ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
booléen
aForme ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
booléen
hasTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
booléen final
AttrValue.Builder
mergeFrom (com.google.protobuf.Message autre)
AttrValue.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue.Builder
mergeFunc (valeur NameAttrList )
 "func" represents a function.
AttrValue.Builder
mergeList (valeur AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
mergeShape (valeur TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
mergeTensor (valeur TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
AttrValue.Builder
setB (valeur booléenne)
 "bool"
 
bool b = 5;
AttrValue.Builder
setF (valeur flottante)
 "float"
 
float f = 4;
AttrValue.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
AttrValue.Builder
setFunc ( NameAttrList.Builder builderForValue)
 "func" represents a function.
AttrValue.Builder
setFunc (valeur NameAttrList )
 "func" represents a function.
AttrValue.Builder
setI (valeur longue)
 "int"
 
int64 i = 3;
AttrValue.Builder
setList (valeur AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
setList ( AttrValue.ListValue.Builder builderForValue)
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
setPlaceholder (valeur de chaîne)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setPlaceholderBytes (valeur com.google.protobuf.ByteString)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
AttrValue.Builder
setS (valeur com.google.protobuf.ByteString)
 "string"
 
bytes s = 2;
AttrValue.Builder
setShape (valeur TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setShape ( TensorShapeProto.Builder builderForValue)
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setTensor ( TensorProto.Builder builderForValue)
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setTensor (valeur TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setType (valeur DataType )
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
setTypeValue (valeur entière)
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public AttrValue.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

construction publique AttrValue ()

public AttrValue buildPartial ()

public AttrValue.Builder clear ()

public AttrValue.Builder clearB ()

 "bool"
 
bool b = 5;

public AttrValue.Builder clearF ()

 "float"
 
float f = 4;

public AttrValue.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

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

public AttrValue.Builder clearI ()

 "int"
 
int64 i = 3;

public AttrValue.Builder clearList ()

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

public AttrValue.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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

public AttrValue.Builder clearS ()

 "string"
 
bytes s = 2;

public AttrValue.Builder clearShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder clearTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder clearType ()

 "type"
 
.tensorflow.DataType type = 6;

public AttrValue.Builder clearValue ()

clone public AttrValue.Builder ()

public booléen getB ()

 "bool"
 
bool b = 5;

public AttrValue getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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

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

public long getI ()

 "int"
 
int64 i = 3;

public AttrValue.ListValue getList ()

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

public AttrValue.ListValue.Builder getListBuilder ()

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

public AttrValue.ListValueOrBuilder getListOrBuilder ()

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

chaîne publique 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;

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

public com.google.protobuf.ByteString getS ()

 "string"
 
bytes s = 2;

public TensorShapeProto getShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public TensorShapeProto.Builder getShapeBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public TensorProto.Builder getTensorBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

Type de données public getType ()

 "type"
 
.tensorflow.DataType type = 6;

public int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

public AttrValue.ValueCase getValueCase ()

public booléen hasFunc ()

 "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 booléen public ()

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

public booléen hasShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public booléen hasTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public final booléen isInitialized ()

public AttrValue.Builder mergeFrom (com.google.protobuf.Message autre)

public AttrValue.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public AttrValue.Builder mergeFunc (valeur 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 (valeur AttrValue.ListValue )

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

public AttrValue.Builder mergeShape (valeur TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder mergeTensor (valeur TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public final AttrValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public AttrValue.Builder setB (valeur booléenne)

 "bool"
 
bool b = 5;

public AttrValue.Builder setF (valeur flottante)

 "float"
 
float f = 4;

public AttrValue.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

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

 "int"
 
int64 i = 3;

public AttrValue.Builder setList (valeur AttrValue.ListValue )

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

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

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

public AttrValue.Builder setPlaceholder (valeur de chaîne)

 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 setPlaceholderBytes (valeur 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public AttrValue.Builder setS (valeur com.google.protobuf.ByteString)

 "string"
 
bytes s = 2;

public AttrValue.Builder setShape (valeur TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder setShape ( TensorShapeProto.Builder builderForValue)

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder setTensor ( TensorProto.Builder builderForValue)

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder setTensor (valeur TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder setType (valeur DataType )

 "type"
 
.tensorflow.DataType type = 6;

public AttrValue.Builder setTypeValue (valeur int)

 "type"
 
.tensorflow.DataType type = 6;

public final AttrValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)