lớp cuối cùng tĩnh công khai 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
Phương pháp công khai
BundleHeaderProto.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
GóiTiêu đềProto | xây dựng () |
GóiTiêu đềProto | |
BundleHeaderProto.Builder | thông thoáng () |
BundleHeaderProto.Builder | rõ ràngEndianness () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
BundleHeaderProto.Builder | ClearNumShards () Number of data files in the bundle. |
BundleHeaderProto.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundleHeaderProto.Builder | ClearVersion () Versioning of the tensor bundle format. |
BundleHeaderProto.Builder | dòng vô tính () |
GóiTiêu đềProto | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
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. |
Phiên bảnDef | getVersion () Versioning of the tensor bundle format. |
Phiên bảnDef.Builder | getVersionBuilder () Versioning of the tensor bundle format. |
Phiên bảnDefOrBuilder | getVersionOrBuilder () Versioning of the tensor bundle format. |
boolean | hasVersion () Versioning of the tensor bundle format. |
boolean cuối cùng | |
BundleHeaderProto.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.Message other) |
BundleHeaderProto.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder | setEndianness (giá trị BundleHeaderProto.Endianness ) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setEndiannessValue (giá trị int) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
BundleHeaderProto.Builder | setNumShards (giá trị int) Number of data files in the bundle. |
BundleHeaderProto.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
BundleHeaderProto.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder |
Phương pháp kế thừa
Phương pháp công khai
public BundleHeaderProto.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public BundleHeaderProto.Builder clearEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
public BundleHeaderProto.Endianness getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
int công khai getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
int công khai 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;
boolean công khai hasVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
boolean cuối cùng công khai được khởi tạo ()
public BundleHeaderProto.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai BundleHeaderProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public BundleHeaderProto.Builder mergeVersion (giá trị VersionDef )
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public BundleHeaderProto.Builder setEndianness (giá trị BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setEndiannessValue (giá trị int)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public BundleHeaderProto.Builder setNumShards (giá trị int)
Number of data files in the bundle.
int32 num_shards = 1;
public BundleHeaderProto.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
trận chung kết công khai BundleHeaderProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public BundleHeaderProto.Builder setVersion (giá trị 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;