BundleEntryProto kelas akhir publik
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
Kelas Bersarang
kelas | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
Konstanta
ke dalam | CRC32C_FIELD_NUMBER | |
ke dalam | DTYPE_FIELD_NUMBER | |
ke dalam | OFFSET_FIELD_NUMBER | |
ke dalam | BENTUK_FIELD_NUMBER | |
ke dalam | SHARD_ID_FIELD_NUMBER | |
ke dalam | SIZE_FIELD_NUMBER | |
ke dalam | SLICES_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
ke dalam | dapatkanCrc32C () The CRC32C checksum of the tensor bytes. |
BundleEntryProto statis | |
BundleEntryProto | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
Tipe Data | dapatkan tipe D () The tensor dtype and shape. |
ke dalam | dapatkanDtypeValue () The tensor dtype and shape. |
panjang | dapatkan Offset () int64 offset = 4; |
ke dalam | |
TensorBentukProto | dapatkanBentuk () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | dapatkanBentukOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
ke dalam | dapatkanShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
panjang | dapatkanUkuran () int64 size = 5; |
TensorSliceProto | getSlices (indeks int) Iff present, this entry represents a partitioned tensor. |
ke dalam | dapatkanSlicesCount () Iff present, this entry represents a partitioned tensor. |
Daftar< TensorSliceProto > | dapatkanDaftar Irisan () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (indeks int) Iff present, this entry represents a partitioned tensor. |
Daftar<? memperluas TensorSliceProtoOrBuilder > | dapatkanSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
final com.google.protobuf.UnknownFieldSet | |
boolean | memilikiBentuk () .tensorflow.TensorShapeProto shape = 2; |
ke dalam | Kode hash () |
boolean terakhir | |
BundleEntryProto.Builder statis | |
BundleEntryProto.Builder statis | newBuilder (prototipe BundleEntryProto ) |
BundleEntryProto.Builder | |
BundleEntryProto statis | parseDelimitedFrom (masukan Aliran Masukan) |
BundleEntryProto statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statis | parseFrom (data ByteBuffer) |
BundleEntryProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
BundleEntryProto statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statis | parseFrom (com.google.protobuf.ByteString data) |
BundleEntryProto statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
BundleEntryProto.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik CRC32C_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik DTYPE_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik OFFSET_FIELD_NUMBER
Nilai Konstan: 4
int akhir statis publik SHAPE_FIELD_NUMBER
Nilai Konstan: 2
int final statis publik SHARD_ID_FIELD_NUMBER
Nilai Konstan: 3
int final statis publik SIZE_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik SLICES_FIELD_NUMBER
Nilai Konstan: 7
Metode Publik
boolean publik sama (Obj objek)
int publik getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
int publik getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
getOffset panjang publik ()
int64 offset = 4;
publik dapatkanParserForType ()
publik int getSerializedSize ()
int publik getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
getSize panjang publik ()
int64 size = 5;
getSlices TensorSliceProto publik (indeks int)
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
int publik getSlicesCount ()
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
Daftar publik< TensorSliceProto > getSlicesList ()
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
TensorSliceProtoOrBuilder publik getSlicesOrBuilder (indeks int)
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
Daftar Publik<? memperluas TensorSliceProtoOrBuilder > getSlicesOrBuilderList ()
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik hasShape ()
.tensorflow.TensorShapeProto shape = 2;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
BundleEntryProto statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
BundleEntryProto parseFrom statis publik (data ByteBuffer)
Melempar
ProtokolBufferException Tidak Valid |
---|
BundleEntryProto statis publik parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
BundleEntryProto parseFrom statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
BundleEntryProto statis publik parseFrom (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
BundleEntryProto statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
BundleEntryProto statis publik parseFrom (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
BundleEntryProto statis publik parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
BundleEntryProto statis publik parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|