BundleHeaderProto.Builder

Clase final estática pública 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.
 
Protobuf tipo tensorflow.BundleHeaderProto

Métodos públicos

PaqueteHeaderProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
PaqueteHeaderProto
PaqueteHeaderProto
PaqueteHeaderProto.Builder
claro ()
PaqueteHeaderProto.Builder
claro endianismo ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
PaqueteHeaderProto.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
PaqueteHeaderProto.Builder
borrarNumShards ()
 Number of data files in the bundle.
PaqueteHeaderProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de)
PaqueteHeaderProto.Builder
versión clara ()
 Versioning of the tensor bundle format.
PaqueteHeaderProto.Builder
clonar ()
PaqueteHeaderProto
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
BundleHeaderProto.Endianness
getEndianidad ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
entero
getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
entero
obtenerNumFragmentos ()
 Number of data files in the bundle.
VersiónDef
obtener versión ()
 Versioning of the tensor bundle format.
VersiónDef.Builder
getVersionBuilder ()
 Versioning of the tensor bundle format.
VersiónDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
booleano
tieneVersión ()
 Versioning of the tensor bundle format.
booleano final
PaqueteHeaderProto.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
PaqueteHeaderProto.Builder
mergeFrom (com.google.protobuf.Message otro)
BundleHeaderProto.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
PaqueteHeaderProto.Builder
mergeVersion (valor VersionDef )
 Versioning of the tensor bundle format.
PaqueteHeaderProto.Builder
setEndianness (valor BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
PaqueteHeaderProto.Builder
setEndiannessValue (valor int)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
PaqueteHeaderProto.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
PaqueteHeaderProto.Builder
setNumShards (valor int)
 Number of data files in the bundle.
PaqueteHeaderProto.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
BundleHeaderProto.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
PaqueteHeaderProto.Builder
setVersion (valor VersionDef )
 Versioning of the tensor bundle format.
PaqueteHeaderProto.Builder
setVersion ( VersiónDef.Builder constructorForValue)
 Versioning of the tensor bundle format.

Métodos heredados

Métodos públicos

público BundleHeaderProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

compilación pública BundleHeaderProto ()

BundleHeaderProto público buildPartial ()

público BundleHeaderProto.Builder claro ()

público BundleHeaderProto.Builder clearEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

público BundleHeaderProto.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

público BundleHeaderProto.Builder clearNumShards ()

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

público BundleHeaderProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

público BundleHeaderProto.Builder clearVersion ()

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

clon público BundleHeaderProto.Builder ()

BundleHeaderPro público para getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

público BundleHeaderProto.Endianness getEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

público int getEndiannessValue ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

público int getNumShards ()

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

Versión públicaDef getVersion ()

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

público VersionDef.Builder getVersionBuilder ()

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

versión públicaDefOrBuilder getVersionOrBuilder ()

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

hasVersion pública booleana ()

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

público final booleano isInitialized ()

BundleHeaderProto.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)

Lanza
IOExcepción

BundleHeaderProto.Builder público mergeFrom (com.google.protobuf.Message otro)

BundleHeaderProto.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

BundleHeaderProto.Builder público mergeVersion (valor VersionDef )

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

público BundleHeaderProto.Builder setEndianness (valor BundleHeaderProto.Endianness )

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

público BundleHeaderProto.Builder setEndiannessValue (valor int)

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

público BundleHeaderProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

público BundleHeaderProto.Builder setNumShards (valor int)

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

público BundleHeaderProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)

BundleHeaderProto.Builder final público setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)

público BundleHeaderProto.Builder setVersion (valor VersionDef )

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

público BundleHeaderProto.Builder setVersion ( VersionDef.Builder builderForValue)

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