AttrValue kelas akhir publik
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
Kelas Bersarang
kelas | AttrValue.Builder | Protocol buffer representing the value for an attr used to configure an Op. | |
kelas | NilaiAtribut.NilaiDaftar | LINT.IfChange tensorflow.AttrValue.ListValue | |
antarmuka | AttrValue.ListValueOrBuilder | ||
enum | AttrValue.ValueCase |
Konstanta
ke dalam | B_FIELD_NUMBER | |
ke dalam | FUNC_FIELD_NUMBER | |
ke dalam | F_FIELD_NUMBER | |
ke dalam | SAYA_FIELD_NUMBER | |
ke dalam | LIST_FIELD_NUMBER | |
ke dalam | PLACEHOLDER_FIELD_NUMBER | |
ke dalam | BENTUK_FIELD_NUMBER | |
ke dalam | S_FIELD_NUMBER | |
ke dalam | TENSOR_FIELD_NUMBER | |
ke dalam | TYPE_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
boolean | dapatkanB () "bool" bool b = 5; |
Nilai Atribut statis | |
Nilai Attr | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
mengambang | dapatkanF () "float" float f = 4; |
NamaAttrList | dapatkan Fungsi () "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.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; |
ke dalam | |
TensorBentukProto | dapatkanBentuk () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | dapatkanBentukOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorProto | dapatkan Tensor () "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; |
final com.google.protobuf.UnknownFieldSet | |
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; |
ke dalam | Kode hash () |
boolean terakhir | |
AttrValue.Builder statis | newBuilder (prototipe AttrValue ) |
AttrValue.Builder statis | |
AttrValue.Builder | |
Nilai Atribut statis | parseDelimitedFrom (masukan Aliran Masukan) |
Nilai Atribut statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Nilai Atribut statis | parseFrom (data ByteBuffer) |
Nilai Atribut statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Nilai Atribut statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Nilai Atribut statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
Nilai Atribut statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Nilai Attr statis | parseFrom (com.google.protobuf.ByteString data) |
Nilai Atribut statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Nilai Atribut statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
AttrValue.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik B_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik FUNC_FIELD_NUMBER
Nilai Konstan: 10
int akhir statis publik F_FIELD_NUMBER
Nilai Konstan: 4
int akhir statis publik I_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik LIST_FIELD_NUMBER
Nilai Konstan: 1
int final statis publik PLACEHOLDER_FIELD_NUMBER
Nilai Konstan: 9
int akhir statis publik SHAPE_FIELD_NUMBER
Nilai Konstan: 7
int akhir statis publik S_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik TENSOR_FIELD_NUMBER
Nilai Konstan: 8
int akhir statis publik TYPE_FIELD_NUMBER
Nilai Konstan: 6
Metode Publik
boolean publik sama (Obj objek)
getB boolean publik ()
"bool"
bool b = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
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 publik.ListValueOrBuilder getListOrBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
publik dapatkanParserForType ()
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;
publik int getSerializedSize ()
TensorShapeProtoOrBuilder publik getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
publik int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom AttrValue statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom AttrValue statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom AttrValue statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom AttrValue statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
Pengecualian IO |
---|
parseFrom AttrValue statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
parseFrom AttrValue statis publik (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
parseFrom AttrValue statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom AttrValue statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|