BundleHeaderProto.Builder

classe finale statica pubblica 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.
 
Tipo di protobuf tensorflow.BundleHeaderProto

Metodi pubblici

BundleHeaderProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
BundleHeaderProto
BundleHeaderProto
BundleHeaderProto.Builder
chiaro ()
BundleHeaderProto.Builder
clearEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
clearField (campo 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
clearVersione ()
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
clone ()
BundleHeaderProto
com.google.protobuf.Descriptors.Descriptor statico finale
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.
VersioneDef
getVersione ()
 Versioning of the tensor bundle format.
VersionDef.Builder
getVersionBuilder ()
 Versioning of the tensor bundle format.
VersioneDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
booleano
hasVersion ()
 Versioning of the tensor bundle format.
booleano finale
BundleHeaderProto.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
BundleHeaderProto.Builder
mergeFrom (com.google.protobuf.Message altro)
finale BundleHeaderProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
BundleHeaderProto.Builder
mergeVersion (valore VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setEndianness (valore BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setEndiannessValue (valore int)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
BundleHeaderProto.Builder
setNumShards (valore int)
 Number of data files in the bundle.
BundleHeaderProto.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
finale BundleHeaderProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
BundleHeaderProto.Builder
setVersion (valore VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setVersion ( VersionDef.Builder builderForValue)
 Versioning of the tensor bundle format.

Metodi ereditati

Metodi pubblici

public BundleHeaderProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

build pubblica BundleHeaderProto ()

public BundleHeaderProto buildPartial ()

public BundleHeaderProto.Builder cancella ()

public BundleHeaderProto.Builder clearEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder clearField (campo 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 pubblico BundleHeaderProto.Builder ()

public BundleHeaderProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

pubblico 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;

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;

versione pubblicaDefOrBuilder getVersionOrBuilder ()

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

hasVersion booleano pubblico ()

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

public final booleano isInitialized ()

public BundleHeaderProto.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

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

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

public BundleHeaderProto.Builder mergeVersion (valore VersionDef )

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

public BundleHeaderProto.Builder setEndianness (valore BundleHeaderProto.Endianness )

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder setEndiannessValue (valore int)

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public BundleHeaderProto.Builder setNumShards (valore int)

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

public BundleHeaderProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

public final BundleHeaderProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

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