kelas akhir statis publik 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
Metode Publik
AttrValue.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Nilai Attr | membangun () |
Nilai Attr | |
AttrValue.Builder | jernih () |
AttrValue.Builder | jelasB () "bool" bool b = 5; |
AttrValue.Builder | jelasF () "float" float f = 4; |
AttrValue.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
AttrValue.Builder | fungsi yang jelas () "func" represents a function. |
AttrValue.Builder | jelas saya () "int" int64 i = 3; |
AttrValue.Builder | daftar jelas () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttrValue.Builder | hapus Placeholder () This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | hapusS () "string" bytes s = 2; |
AttrValue.Builder | bentuk jelas () "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | hapus Tensor () "tensor" .tensorflow.TensorProto tensor = 8; |
AttrValue.Builder | tipe jelas () "type" .tensorflow.DataType type = 6; |
AttrValue.Builder | nilai jelas () |
AttrValue.Builder | klon () |
boolean | dapatkanB () "bool" bool b = 5; |
Nilai Attr | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
mengambang | dapatkanF () "float" float f = 4; |
NamaAttrList | dapatkan Fungsi () "func" represents a function. |
NamaAttrList.Builder | dapatkanFuncBuilder () "func" represents a function. |
NamaAttrListOrBuilder | dapatkanFuncOrBuilder () "func" represents a function. |
panjang | dapatkan saya () "int" int64 i = 3; |
NilaiAtribut.NilaiDaftar | dapatkanDaftar () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.ListValue.Builder | dapatkanListBuilder () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.ListValueOrBuilder | dapatkanListOrBuilder () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
Rangkaian | dapatkan Placeholder () This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | dapatkanPlaceholderBytes () This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | dapatkanS () "string" bytes s = 2; |
TensorBentukProto | dapatkanBentuk () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProto.Builder | dapatkanShapeBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | dapatkanBentukOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorProto | dapatkan Tensor () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProto.Builder | dapatkanTensorBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProtoOrBuilder | dapatkanTensorOrBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
Tipe Data | dapatkan Tipe () "type" .tensorflow.DataType type = 6; |
ke dalam | dapatkanTypeValue () "type" .tensorflow.DataType type = 6; |
AttrValue.ValueCase | |
boolean | memilikiFunc () "func" represents a function. |
boolean | memilikiDaftar () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
boolean | memilikiBentuk () "shape" .tensorflow.TensorShapeProto shape = 7; |
boolean | memiliki Tensor () "tensor" .tensorflow.TensorProto tensor = 8; |
boolean terakhir | |
AttrValue.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
AttrValue.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
AttrValue.Builder | setB (nilai boolean) "bool" bool b = 5; |
AttrValue.Builder | setF (nilai mengambang) "float" float f = 4; |
AttrValue.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | setI (nilai panjang) "int" int64 i = 3; |
AttrValue.Builder | |
AttrValue.Builder | setList ( AttrValue.ListValue.Builder pembangunForValue) any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.Builder | setPlaceholder (Nilai string) This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | setPlaceholderBytes (nilai com.google.protobuf.ByteString) This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
AttrValue.Builder | setS (nilai com.google.protobuf.ByteString) "string" bytes s = 2; |
AttrValue.Builder | |
AttrValue.Builder | setShape ( TensorShapeProto.Pembuat pembangunForValue) "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | setTypeValue (nilai int) "type" .tensorflow.DataType type = 6; |
AttrValue.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public AttrValue.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
AttrValue publik.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;
AttrValue.Builder publik 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;
getB boolean publik ()
"bool"
bool b = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
getF pelampung publik ()
"float"
float f = 4;
publik 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;
NameAttrList.Builder publik 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;
NameAttrListOrBuilder publik 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;
publik long getI ()
"int"
int64 i = 3;
AttrValue.ListValue.Builder publik getListBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
AttrValue publik.ListValueOrBuilder getListOrBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
GetPlaceholder String publik ()
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;
publik 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;
com.google.protobuf.ByteString publik getS ()
"string"
bytes s = 2;
TensorShapeProtoOrBuilder publik getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
publik int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
boolean publik 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 boolean publik ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
boolean publik hasShape ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
boolean publik hasTensor ()
"tensor"
.tensorflow.TensorProto tensor = 8;
boolean akhir publik diinisialisasi ()
public AttrValue.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
AttrValue.Builder mergeFunc publik (nilai 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;
AttrValue.Builder mergeList publik (nilai AttrValue.ListValue )
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder mergeShape (nilai TensorShapeProto )
"shape"
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder mergeTensor publik (nilai TensorProto )
"tensor"
.tensorflow.TensorProto tensor = 8;
public final AttrValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public AttrValue.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
AttrValue publik.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;
AttrValue.Builder setFunc publik (nilai 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;
AttrValue.Builder setList publik (nilai AttrValue.ListValue )
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder setList publik ( AttrValue.ListValue.Builder builderForValue)
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder setPlaceholder (Nilai 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;
AttrValue.Builder setPlaceholderBytes publik (nilai 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 (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
AttrValue.Builder setShape publik (nilai TensorShapeProto )
"shape"
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder setShape publik ( TensorShapeProto.Builder builderForValue)
"shape"
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder setTensor publik ( TensorProto.Builder builderForValue)
"tensor"
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder setTensor publik (nilai TensorProto )
"tensor"
.tensorflow.TensorProto tensor = 8;