ResourceHandleProto kelas akhir publik
Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.Tipe protobuf
tensorflow.ResourceHandleProto
Kelas Bersarang
kelas | ResourceHandleProto.Builder | Protocol buffer representing a handle to a tensorflow resource. | |
kelas | ResourceHandleProto.DtypeAndShape | Protocol buffer representing a pair of (data type, tensor shape). | |
antarmuka | ResourceHandleProto.DtypeAndShapeOrBuilder |
Konstanta
ke dalam | CONTAINER_FIELD_NUMBER | |
ke dalam | DEVICE_FIELD_NUMBER | |
ke dalam | DTYPES_AND_SHAPES_FIELD_NUMBER | |
ke dalam | HASH_CODE_FIELD_NUMBER | |
ke dalam | MAYBE_TYPE_NAME_FIELD_NUMBER | |
ke dalam | NAME_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
Rangkaian | dapatkan Kontainer () Container in which this resource is placed. |
com.google.protobuf.ByteString | dapatkanContainerBytes () Container in which this resource is placed. |
ResourceHandleProto statis | |
ResourceHandleProto | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
Rangkaian | dapatkan Perangkat () Unique name for the device containing the resource. |
com.google.protobuf.ByteString | dapatkanDeviceBytes () Unique name for the device containing the resource. |
ResourceHandleProto.DtypeAndShape | getDtypesAndShapes (indeks int) Data types and shapes for the underlying resource. |
ke dalam | getDtypesAndShapesCount () Data types and shapes for the underlying resource. |
Daftar< ResourceHandleProto.DtypeAndShape > | dapatkanDtypesAndShapesList () Data types and shapes for the underlying resource. |
ResourceHandleProto.DtypeAndShapeOrBuilder | getDtypesAndShapesOrBuilder (indeks int) Data types and shapes for the underlying resource. |
Daftar<? memperluas ResourceHandleProto.DtypeAndShapeOrBuilder > | getDtypesAndShapesOrBuilderList () Data types and shapes for the underlying resource. |
panjang | dapatkanHashCode () Hash code for the type of the resource. |
Rangkaian | dapatkanMungkinTypeName () For debug-only, the name of the type pointed to by this handle, if available. |
com.google.protobuf.ByteString | dapatkanMungkinTypeNameBytes () For debug-only, the name of the type pointed to by this handle, if available. |
Rangkaian | dapatkan Nama () Unique name of this resource. |
com.google.protobuf.ByteString | dapatkanNamaBytes () Unique name of this resource. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
ResourceHandleProto.Builder statis | newBuilder (prototipe ResourceHandleProto ) |
ResourceHandleProto.Builder statis | |
ResourceHandleProto.Builder | |
ResourceHandleProto statis | parseDelimitedFrom (masukan Aliran Masukan) |
ResourceHandleProto statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto statis | parseFrom (data ByteBuffer) |
ResourceHandleProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
ResourceHandleProto statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto statis | parseFrom (com.google.protobuf.ByteString data) |
ResourceHandleProto statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
ResourceHandleProto.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik CONTAINER_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik DEVICE_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik DTYPES_AND_SHAPES_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik HASH_CODE_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik MAYBE_TYPE_NAME_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik NAME_FIELD_NUMBER
Nilai Konstan: 3
Metode Publik
boolean publik sama (Obj objek)
GetContainer String publik ()
Container in which this resource is placed.
string container = 2;
publik com.google.protobuf.ByteString getContainerBytes ()
Container in which this resource is placed.
string container = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
GetDevice String publik ()
Unique name for the device containing the resource.
string device = 1;
publik com.google.protobuf.ByteString getDeviceBytes ()
Unique name for the device containing the resource.
string device = 1;
ResourceHandleProto.DtypeAndShape publik getDtypesAndShapes (indeks int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
int publik getDtypesAndShapesCount ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
Daftar publik< ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
ResourceHandleProto.DtypeAndShapeOrBuilder publik getDtypesAndShapesOrBuilder (indeks int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
Daftar Publik<? memperluas ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
getHashCode panjang publik ()
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
uint64 hash_code = 4;
String publik getMungkinTypeName ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
publik com.google.protobuf.ByteString getMayTypeNameBytes ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
GetName String publik ()
Unique name of this resource.
string name = 3;
publik com.google.protobuf.ByteString getNameBytes ()
Unique name of this resource.
string name = 3;
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
ResourceHandleProto statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom ResourceHandleProto statis publik (data ByteBuffer)
Melempar
InvalidProtocolBufferException |
---|
ResourceHandleProto statis publik parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ResourceHandleProto statis publik parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
ResourceHandleProto statis publik parseFrom (com.google.protobuf.CodedInputStream masukan)
Melempar
Pengecualian IO |
---|
ResourceHandleProto statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
ResourceHandleProto statis publik parseFrom (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
ResourceHandleProto statis publik parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ResourceHandleProto statis publik parseFrom (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 |
---|