BundleHeaderProto kelas akhir publik
Special header that is associated with a bundle. TODO(zongheng,zhifengc): maybe in the future, we can add information about which binary produced this checkpoint, timestamp, etc. Sometime, these can be valuable debugging information. And if needed, these can be used as defensive information ensuring reader (binary version) of the checkpoint and the writer (binary version) must match within certain range, etc.
tensorflow.BundleHeaderProto Kelas Bersarang
| kelas | BundleHeaderProto.Builder | Special header that is associated with a bundle. | |
| enum | BundleHeaderProto.Endianness | An enum indicating the endianness of the platform that produced this bundle. | |
Konstanta
| ke dalam | ENDIANNESS_FIELD_NUMBER | |
| ke dalam | NUM_SHARDS_FIELD_NUMBER | |
| ke dalam | VERSION_FIELD_NUMBER |
Metode Publik
| boolean | sama dengan (Objek objek) |
| BundleHeaderProto statis | |
| BundleHeaderProto | |
| com.google.protobuf.Descriptors.Descriptor statis terakhir | |
| BundleHeaderProto.Endianness | dapatkan Endianness () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
| ke dalam | dapatkanEndiannessValue () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
| ke dalam | dapatkanNumShards () Number of data files in the bundle. |
| ke dalam | |
| final com.google.protobuf.UnknownFieldSet | |
| VersiDef | dapatkanVersi () Versioning of the tensor bundle format. |
| VersionDefOrBuilder | dapatkanVersionOrBuilder () Versioning of the tensor bundle format. |
| boolean | memilikiVersi () Versioning of the tensor bundle format. |
| ke dalam | Kode hash () |
| boolean terakhir | |
| BundleHeaderProto.Builder statis | newBuilder (prototipe BundleHeaderProto ) |
| BundleHeaderProto.Builder statis | |
| BundleHeaderProto.Builder | |
| BundleHeaderProto statis | parseDelimitedFrom (masukan Aliran Masukan) |
| BundleHeaderProto statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| BundleHeaderProto statis | parseFrom (data ByteBuffer) |
| BundleHeaderProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| BundleHeaderProto statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| BundleHeaderProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
| BundleHeaderProto statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| BundleHeaderProto statis | parseFrom (com.google.protobuf.ByteString data) |
| BundleHeaderProto statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| BundleHeaderProto statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statis | pengurai () |
| BundleHeaderProto.Builder | |
| ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik ENDIANNESS_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik NUM_SHARDS_FIELD_NUMBER
Nilai Konstan: 1
int akhir statis publik VERSION_FIELD_NUMBER
Nilai Konstan: 3
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publik BundleHeaderProto.Endianness getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
int publik getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
int publik getNumShards ()
Number of data files in the bundle.
int32 num_shards = 1; publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
VersionDef publik getVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3; VersionDefOrBuilder publik getVersionOrBuilder ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3; boolean publik hasVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3; kode hash int publik ()
boolean akhir publik diinisialisasi ()
BundleHeaderProto statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
parseFrom BundleHeaderProto statis publik (data ByteBuffer)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
BundleHeaderProto statis publik parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
BundleHeaderProto parseFrom statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
BundleHeaderProto statis publik parseFrom (com.google.protobuf.CodedInputStream masukan)
Melempar
| Pengecualian IO |
|---|
BundleHeaderProto statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
BundleHeaderProto parseFrom statis publik (com.google.protobuf.ByteString data)
Melempar
| ProtokolBufferException Tidak Valid |
|---|
BundleHeaderProto statis publik parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
| Pengecualian IO |
|---|
BundleHeaderProto 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 |
|---|