publiczna statyczna klasa końcowa 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
Metody publiczne
BundleHeaderProto.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Nagłówek pakietuProto | zbudować () |
Nagłówek pakietuProto | |
BundleHeaderProto.Builder | jasne () |
BundleHeaderProto.Builder | jasneEndianizm () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
BundleHeaderProto.Builder | wyczyśćNumShards () Number of data files in the bundle. |
BundleHeaderProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundleHeaderProto.Builder | wyczyść wersję () Versioning of the tensor bundle format. |
BundleHeaderProto.Builder | klon () |
Nagłówek pakietuProto | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
BundleHeaderProto.Endianness | getEndianness () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
wew | getEndiannessValue () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
wew | pobierzNumShards () Number of data files in the bundle. |
WersjaDef | pobierz wersję () Versioning of the tensor bundle format. |
WersjaDef.Builder | getVersionBuilder () Versioning of the tensor bundle format. |
WersjaDefOrBuilder | getVersionOrBuilder () Versioning of the tensor bundle format. |
wartość logiczna | ma wersję () Versioning of the tensor bundle format. |
końcowa wartość logiczna | |
BundleHeaderProto.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
końcowy BundleHeaderProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder | setEndianness (wartość BundleHeaderProto.Endianness ) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setEndiannessValue (wartość int) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
BundleHeaderProto.Builder | setNumShards (wartość int) Number of data files in the bundle. |
BundleHeaderProto.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
końcowy BundleHeaderProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder |
Metody dziedziczone
Metody publiczne
public BundleHeaderProto.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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;
publiczny int getNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
wersja publicznaDef getVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
wersja publicznaDef.Builder getVersionBuilder ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
wersja publicznaDefOrBuilder getVersionOrBuilder ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
publiczna wartość logiczna hasVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
publiczna końcowa wartość logiczna isInitialized ()
public BundleHeaderProto.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy BundleHeaderProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public BundleHeaderProto.Builder mergeVersion (wartość VersionDef )
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
public BundleHeaderProto.Builder setEndianness (wartość BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setEndiannessValue (wartość int)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
public BundleHeaderProto.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public BundleHeaderProto.Builder setNumShards (wartość int)
Number of data files in the bundle.
int32 num_shards = 1;
public BundleHeaderProto.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
publiczny końcowy BundleHeaderProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public BundleHeaderProto.Builder setVersion (wartość 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;