genel final sınıfı BundleHeaderProto
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
İç İçe Sınıflar
sınıf | BundleHeaderProto.Builder | Special header that is associated with a bundle. | |
numaralandırma | BundleHeaderProto.Endianness | An enum indicating the endianness of the platform that produced this bundle. |
Sabitler
int | ENDIANNESS_FIELD_NUMBER | |
int | NUM_SHARDS_FIELD_NUMBER | |
int | VERSION_FIELD_NUMBER |
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
statik BundleHeaderProto | |
Paket BaşlığıProto | |
final statik com.google.protobuf.Descriptors.Descriptor | |
BundleHeaderProto.Endianness | getEndianness () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
int | getEndiannessValue () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
int | getNumShards () Number of data files in the bundle. |
int | |
final com.google.protobuf.UnknownFieldSet | |
SürümDef | getVersion () Versioning of the tensor bundle format. |
VersionDefOrBuilder | getVersionOrBuilder () Versioning of the tensor bundle format. |
boolean | sürümü var () Versioning of the tensor bundle format. |
int | hashKodu () |
son boole değeri | Başlatıldı () |
statik BundleHeaderProto.Builder | newBuilder ( BundleHeaderProto prototipi) |
statik BundleHeaderProto.Builder | yeniİnşaatçı () |
BundleHeaderProto.Builder | |
statik BundleHeaderProto | parseDelimitedFrom (InputStream girişi) |
statik BundleHeaderProto | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik BundleHeaderProto | parseFrom (ByteBuffer verileri) |
statik BundleHeaderProto | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik BundleHeaderProto | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik BundleHeaderProto | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik BundleHeaderProto | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik BundleHeaderProto | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik BundleHeaderProto | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik BundleHeaderProto | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
BundleHeaderProto.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int ENDIANNESS_FIELD_NUMBER
Sabit Değer: 2
genel statik final int NUM_SHARDS_FIELD_NUMBER
Sabit Değer: 1
genel statik final int VERSION_FIELD_NUMBER
Sabit Değer: 3
Genel Yöntemler
genel boole eşittir (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public BundleHeaderProto.Endianness getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public int getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
genel int getNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
halk getParserForType ()
public int getSerializedSize ()
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel VersionDef getVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
herkese açık VersionDefOrBuilder getVersionOrBuilder ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
genel boolean hasVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
genel int hashCode ()
genel final boolean isInitialized ()
public static BundleHeaderProto parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik BundleHeaderProto ayrıştırmaFrom (ByteBuffer verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik BundleHeaderProto parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik BundleHeaderProto parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik BundleHeaderProto parseFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IOİstisnası |
---|
genel statik BundleHeaderProto ayrıştırmaFrom (bayt[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik BundleHeaderProto ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
public static BundleHeaderProto parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel statik BundleHeaderProto parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IOİstisnası |
---|