genel statik son sınıf 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
Genel Yöntemler
BundleHeaderProto.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
Paket BaşlığıProto | inşa etmek () |
Paket BaşlığıProto | inşaKısmi () |
BundleHeaderProto.Builder | temizlemek () |
BundleHeaderProto.Builder | clearEndianness () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
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 | klon () |
Paket BaşlığıProto | |
final statik com.google.protobuf.Descriptors.Descriptor | |
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. |
SürümDef | getVersion () Versioning of the tensor bundle format. |
VersionDef.Builder | getVersionBuilder () 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. |
son boole değeri | Başlatıldı () |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.Message other) |
son BundleHeaderProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder | setEndianness ( BundleHeaderProto.Endianness değeri) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setEndiannessValue (int değeri) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
BundleHeaderProto.Builder | setNumShards (int değeri) Number of data files in the bundle. |
BundleHeaderProto.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
son BundleHeaderProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder |
Kalıtsal Yöntemler
Genel Yöntemler
public BundleHeaderProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public BundleHeaderProto.Builder clearEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
herkese açık BundleHeaderProto.Builder clearNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
herkese açık 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;
genel int getNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
genel VersionDef getVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
genel VersionDef.Builder getVersionBuilder ()
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 final boolean isInitialized ()
public BundleHeaderProto.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel final BundleHeaderProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public BundleHeaderProto.Builder mergeVersion ( VersionDef değeri)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public BundleHeaderProto.Builder setEndianness ( BundleHeaderProto.Endianness değeri)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setEndiannessValue (int değer)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public BundleHeaderProto.Builder setNumShards (int değer)
Number of data files in the bundle.
int32 num_shards = 1;
public BundleHeaderProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int indeksi, Nesne değeri)
genel final BundleHeaderProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public BundleHeaderProto.Builder setVersion ( VersionDef değeri)
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;