パブリック静的最終クラスBundleHeaderProto.Builder
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
パブリックメソッド
BundleHeaderProto.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
バンドルヘッダープロト | 建てる() |
バンドルヘッダープロト | buildPartial () |
BundleHeaderProto.Builder | クリア() |
BundleHeaderProto.Builder | クリアエンディアンネス() .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
BundleHeaderProto.Builder | クリアNumShards () Number of data files in the bundle. |
BundleHeaderProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundleHeaderProto.Builder | クリアバージョン() Versioning of the tensor bundle format. |
BundleHeaderProto.Builder | クローン() |
バンドルヘッダープロト | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
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. |
バージョン定義 | getバージョン() Versioning of the tensor bundle format. |
バージョン定義ビルダー | getVersionBuilder () Versioning of the tensor bundle format. |
バージョン定義またはビルダー | getVersionOrBuilder () Versioning of the tensor bundle format. |
ブール値 | hasVersion () Versioning of the tensor bundle format. |
最終ブール値 | |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.Message other) |
最終的なBundleHeaderProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder | setEndianness ( BundleHeaderProto.Endianness値) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setEndiannessValue (int 値) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
BundleHeaderProto.Builder | setNumShards (int 値) Number of data files in the bundle. |
BundleHeaderProto.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
最終的なBundleHeaderProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder |
継承されたメソッド
パブリックメソッド
public BundleHeaderProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
public BundleHeaderProto.Builder clearEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder clearNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
public BundleHeaderProto.Builder clearVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
public VersionDef getVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public VersionDef.Builder getVersionBuilder ()
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;
パブリック最終ブール値isInitialized ()
public BundleHeaderProto.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public Final BundleHeaderProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public BundleHeaderProto.Builder mergeVersion ( VersionDef値)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public BundleHeaderProto.Builder setEndianness ( BundleHeaderProto.Endianness値)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setEndiannessValue (int 値)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
public BundleHeaderProto.Builder setNumShards (int 値)
Number of data files in the bundle.
int32 num_shards = 1;
public BundleHeaderProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
public Final BundleHeaderProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public BundleHeaderProto.Builder setVersion ( VersionDef値)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public BundleHeaderProto.Builder setVersion ( VersionDef.Builder builderForValue)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;