BundleHeaderProto.Builder

classe finale statique publique 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 de type Protobuf.BundleHeaderProto

Méthodes publiques

BundleHeaderProto.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
BundleHeaderProto
BundleHeaderProto
BundleHeaderProto.Builder
clair ()
BundleHeaderProto.Builder
clearEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
clearField (champ 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
version claire ()
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
cloner ()
BundleHeaderProto
final statique 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.
VersionDef
obtenirVersion ()
 Versioning of the tensor bundle format.
VersionDef.Builder
getVersionBuilder ()
 Versioning of the tensor bundle format.
VersionDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
booléen
aVersion ()
 Versioning of the tensor bundle format.
booléen final
BundleHeaderProto.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto.Builder
mergeFrom (com.google.protobuf.Message autre)
final BundleHeaderProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
BundleHeaderProto.Builder
mergeVersion (valeur VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setEndianness (valeur BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setEndiannessValue (valeur entière)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
BundleHeaderProto.Builder
setNumShards (valeur entière)
 Number of data files in the bundle.
BundleHeaderProto.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
final BundleHeaderProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
BundleHeaderProto.Builder
setVersion (valeur VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setVersion ( VersionDef.Builder builderForValue)
 Versioning of the tensor bundle format.

Méthodes héritées

Méthodes publiques

public BundleHeaderProto.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public BundleHeaderProto ()

public BundleHeaderProto buildPartial ()

public BundleHeaderProto.Builder clear ()

public BundleHeaderProto.Builder clearEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public BundleHeaderProto.Builder clearNumShards ()

 Number of data files in the bundle.
 
int32 num_shards = 1;

public BundleHeaderProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public BundleHeaderProto.Builder clearVersion ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

clone public BundleHeaderProto.Builder ()

public BundleHeaderProto getDefaultInstanceForType ()

public statique 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;

VersionDef publique 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;

version publiqueDefOrBuilder getVersionOrBuilder ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

public booléen hasVersion ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

public final booléen isInitialized ()

public BundleHeaderProto.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public BundleHeaderProto.Builder mergeFrom (com.google.protobuf.Message autre)

public final BundleHeaderProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public BundleHeaderProto.Builder mergeVersion (valeur VersionDef )

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

public BundleHeaderProto.Builder setEndianness (valeur BundleHeaderProto.Endianness )

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder setEndiannessValue (valeur int)

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public BundleHeaderProto.Builder setNumShards (valeur int)

 Number of data files in the bundle.
 
int32 num_shards = 1;

public BundleHeaderProto.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public final BundleHeaderProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public BundleHeaderProto.Builder setVersion (valeur 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;