AttrValue.Builder

classe finale statica pubblica 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 di protocollo tensorflow.AttrValue

Metodi pubblici

AttrValue.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
AttrValue
AttrValue
AttrValue.Builder
chiaro ()
AttrValue.Builder
chiaroB ()
 "bool"
 
bool b = 5;
AttrValue.Builder
cancellaF ()
 "float"
 
float f = 4;
AttrValue.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
AttrValue.Builder
chiaraFunzione ()
 "func" represents a function.
AttrValue.Builder
chiaroI ()
 "int"
 
int64 i = 3;
AttrValue.Builder
elenco chiaro ()
 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
cancellaS ()
 "string"
 
bytes s = 2;
AttrValue.Builder
chiara forma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
tensore chiaro ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
clearType ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
AttrValue.Builder
clone ()
booleano
getB ()
 "bool"
 
bool b = 5;
AttrValue
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
galleggiante
getF ()
 "float"
 
float f = 4;
NomeAttrList
getFunzione ()
 "func" represents a function.
NomeAttrList.Builder
getFuncBuilder ()
 "func" represents a function.
NomeAttrListOrBuilder
getFuncOrBuilder ()
 "func" represents a function.
lungo
prendiI ()
 "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
prende ()
 "string"
 
bytes s = 2;
TensorShapeProto
ottieni forma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
getShapeBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensoreProto
getTensore ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProto.Builder
getTensorBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Tipo di dati
getType ()
 "type"
 
.tensorflow.DataType type = 6;
int
getTypeValue ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.ValueCase
booleano
haFunzione ()
 "func" represents a function.
booleano
listaha ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
booleano
haForma ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
booleano
haTensore ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
booleano finale
AttrValue.Builder
mergeFrom (com.google.protobuf.Message altro)
AttrValue.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
AttrValue.Builder
mergeFunc (valore NameAttrList )
 "func" represents a function.
AttrValue.Builder
mergeList (valore AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
mergeShape (valore TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
mergeTensor (valore TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
finale AttrValue.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
AttrValue.Builder
setB (valore booleano)
 "bool"
 
bool b = 5;
AttrValue.Builder
setF (valore float)
 "float"
 
float f = 4;
AttrValue.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
AttrValue.Builder
setFunc ( NameAttrList.Builder builderForValue)
 "func" represents a function.
AttrValue.Builder
setFunc (valore NameAttrList )
 "func" represents a function.
AttrValue.Builder
setI (valore lungo)
 "int"
 
int64 i = 3;
AttrValue.Builder
setList (valore 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 (valore stringa)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setPlaceholderBytes (valore 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, indice int, valore oggetto)
AttrValue.Builder
setS (valore com.google.protobuf.ByteString)
 "string"
 
bytes s = 2;
AttrValue.Builder
setShape (valore TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setShape ( TensorShapeProto.BuilderbuilderForValue )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setTensor ( TensorProto.Builder builderForValue)
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setTensor (valore TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setType (valore del tipo di dati )
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
setTypeValue (valore int)
 "type"
 
.tensorflow.DataType type = 6;
finale AttrValue.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

Metodi ereditati

Metodi pubblici

public AttrValue.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

build AttrValue pubblica ()

public AttrValue buildPartial ()

pubblico AttrValue.Builder chiaro ()

public AttrValue.Builder clearB ()

 "bool"
 
bool b = 5;

public AttrValue.Builder clearF ()

 "float"
 
float f = 4;

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

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

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

pubblico AttrValue.Builder clearValue ()

clone pubblico AttrValue.Builder ()

booleano pubblico getB ()

 "bool"
 
bool b = 5;

pubblico AttrValue getDefaultInstanceForType ()

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

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

pubblico float getF ()

 "float"
 
float f = 4;

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

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

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

pubblico lungo getI ()

 "int"
 
int64 i = 3;

pubblico AttrValue.ListValue getList ()

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

public AttrValue.ListValue.Builder getListBuilder ()

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

pubblico AttrValue.ListValueOrBuilder getListOrBuilder ()

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

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

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

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

pubblico TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public TensorProto.Builder getTensorBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public DataType getType ()

 "type"
 
.tensorflow.DataType type = 6;

public int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

pubblico AttrValue.ValueCase getValueCase ()

hasFunc booleano pubblico ()

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

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

hasShape booleano pubblico ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

hasTensor booleano pubblico ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public final booleano isInitialized ()

pubblico AttrValue.Builder mergeFrom (com.google.protobuf.Message altro)

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

Lancia
IOException

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

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

public AttrValue.Builder mergeShape (valore TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder mergeTensor (valore TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

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

public AttrValue.Builder setB (valore booleano)

 "bool"
 
bool b = 5;

public AttrValue.Builder setF (valore float)

 "float"
 
float f = 4;

public AttrValue.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

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 (valore 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;

pubblico AttrValue.Builder setI (valore lungo)

 "int"
 
int64 i = 3;

public AttrValue.Builder setList (valore 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 (valore stringa)

 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;

pubblico AttrValue.Builder setPlaceholderBytes (valore 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;

pubblico AttrValue.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

set AttrValue.Builder pubblici (valore com.google.protobuf.ByteString)

 "string"
 
bytes s = 2;

pubblico AttrValue.Builder setShape (valore 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 (valore TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder setType (valore DataType )

 "type"
 
.tensorflow.DataType type = 6;

pubblico AttrValue.Builder setTypeValue (valore int)

 "type"
 
.tensorflow.DataType type = 6;

pubblico finale AttrValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)