kelas akhir statis publik 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
Metode Publik
BundleHeaderProto.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
BundleHeaderProto | membangun () |
BundleHeaderProto | |
BundleHeaderProto.Builder | jernih () |
BundleHeaderProto.Builder | jelasEndianness () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
BundleHeaderProto.Builder | hapusNumShards () Number of data files in the bundle. |
BundleHeaderProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundleHeaderProto.Builder | versi jelas () Versioning of the tensor bundle format. |
BundleHeaderProto.Builder | klon () |
BundleHeaderProto | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
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. |
VersiDef | dapatkanVersi () Versioning of the tensor bundle format. |
VersionDef.Builder | dapatkanVersionBuilder () Versioning of the tensor bundle format. |
VersionDefOrBuilder | dapatkanVersionOrBuilder () Versioning of the tensor bundle format. |
boolean | memilikiVersi () Versioning of the tensor bundle format. |
boolean terakhir | |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
BundleHeaderProto.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder | setEndianness (nilai BundleHeaderProto.Endianness ) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setEndiannessValue (nilai int) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
BundleHeaderProto.Builder | setNumShards (nilai int) Number of data files in the bundle. |
BundleHeaderProto.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
BundleHeaderProto.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder |
Metode Warisan
Metode Publik
public BundleHeaderProto.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
BundleHeaderProto.Builder publik clearEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder clearField publik (bidang com.google.protobuf.Descriptors.FieldDescriptor)
BundleHeaderProto.Builder publik clearNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
BundleHeaderProto.Builder publik clearVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
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;
VersionDef publik getVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
VersionDef.Builder publik getVersionBuilder ()
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;
boolean akhir publik diinisialisasi ()
BundleHeaderProto.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
BundleHeaderProto.Builder akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder mergeVersion publik (nilai VersionDef )
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
BundleHeaderProto.Builder setEndianness publik (nilai BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder setEndiannessValue publik (nilai int)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
BundleHeaderProto.Builder setNumShards publik (nilai int)
Number of data files in the bundle.
int32 num_shards = 1;
public BundleHeaderProto.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
BundleHeaderProto.Builder akhir publik setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder setVersion publik (nilai VersionDef )
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
BundleHeaderProto.Builder setVersion publik ( VersionDef.Builder builderForValue)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;