BundleHeaderProto

パブリック最終クラス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.
 
Protobuf 型tensorflow.BundleHeaderProto

ネストされたクラス

クラスBundleHeaderProto.Builder
 Special header that is associated with a bundle. 
列挙型BundleHeaderProto.Endianness
 An enum indicating the endianness of the platform that produced this
 bundle. 

定数

整数ENDIANNESS_FIELD_NUMBER
整数NUM_SHARDS_FIELD_NUMBER
整数VERSION_FIELD_NUMBER

パブリックメソッド

ブール値
等しい(オブジェクトオブジェクト)
静的BundleHeaderProto
バンドルヘッダープロト
最終的な静的 com.google.protobuf.Descriptors.Descriptor
BundleHeaderProto.Endianness
getエンディアンネス()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
整数
getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
整数
getNumShards ()
 Number of data files in the bundle.
整数
最終的な com.google.protobuf.UnknownFieldSet
バージョン定義
getバージョン()
 Versioning of the tensor bundle format.
バージョン定義またはビルダー
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
ブール値
hasVersion ()
 Versioning of the tensor bundle format.
整数
最終ブール値
静的BundleHeaderProto.Builder
newBuilder ( BundleHeaderProtoプロトタイプ)
静的BundleHeaderProto.Builder
BundleHeaderProto.Builder
静的BundleHeaderProto
parseDelimitedFrom (InputStream 入力)
静的BundleHeaderProto
parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的BundleHeaderProto
parseFrom (ByteBuffer データ)
静的BundleHeaderProto
parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的BundleHeaderProto
parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的BundleHeaderProto
parseFrom (com.google.protobuf.CodedInputStream 入力)
静的BundleHeaderProto
parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的BundleHeaderProto
parseFrom (com.google.protobuf.ByteString データ)
静的BundleHeaderProto
parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的BundleHeaderProto
parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的
BundleHeaderProto.Builder
空所
writeTo (com.google.protobuf.CodedOutputStream 出力)

継承されたメソッド

定数

パブリック静的最終整数ENDIANNESS_FIELD_NUMBER

定数値: 2

パブリック静的最終整数NUM_SHARDS_FIELD_NUMBER

定数値: 1

パブリック静的最終整数VERSION_FIELD_NUMBER

定数値: 3

パブリックメソッド

public booleanに等しい(オブジェクト obj)

public static BundleHeaderProto getDefaultInstance ()

public BundleHeaderProto getDefaultInstanceForType ()

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;

public int getNumShards ()

 Number of data files in the bundle.
 
int32 num_shards = 1;

公共getParserForType ()

public int getSerializedSize ()

public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public VersionDef getVersion ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

public VersionDefOrBuilder getVersionOrBuilder ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

public boolean hasVersion ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

public int hashCode ()

パブリック最終ブール値isInitialized ()

public static BundleHeaderProto.Builder newBuilder ( BundleHeaderProtoプロトタイプ)

public static BundleHeaderProto.Builder newBuilder ()

public BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parseDelimitedFrom (InputStream 入力)

投げる
IO例外

public static BundleHeaderProto parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static BundleHeaderProto parseFrom (ByteBuffer データ)

投げる
無効なプロトコルバッファ例外

public static BundleHeaderProto parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static BundleHeaderProto parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static BundleHeaderProto parseFrom (com.google.protobuf.CodedInputStream 入力)

投げる
IO例外

public static BundleHeaderProto parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static BundleHeaderProto parseFrom (com.google.protobuf.ByteString データ)

投げる
無効なプロトコルバッファ例外

public static BundleHeaderProto parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static BundleHeaderProto parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

パブリック静的パーサー()

public BundleHeaderProto.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream 出力)

投げる
IO例外