BundleHeaderProto.Builder

classe 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.
 
Tipo de protobuf tensorflow.BundleHeaderProto

Métodos Públicos

BundleHeaderProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
BundleHeaderProto
BundleHeaderProto
BundleHeaderProto.Builder
claro ()
BundleHeaderProto.Builder
limparEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
BundleHeaderProto.Builder
limparNumShards ()
 Number of data files in the bundle.
BundleHeaderProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof)
BundleHeaderProto.Builder
clearVersion ()
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
clonar ()
BundleHeaderProto
final estático com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
BundleHeaderProto.Endianness
getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
interno
getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
interno
getNumShards ()
 Number of data files in the bundle.
VersãoDef
getVersão ()
 Versioning of the tensor bundle format.
VersãoDef.Builder
getVersionBuilder ()
 Versioning of the tensor bundle format.
VersãoDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
booleano
hasVersion ()
 Versioning of the tensor bundle format.
booleano final
BundleHeaderProto.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto.Builder
mergeFrom (com.google.protobuf.Message outro)
final BundleHeaderProto.Builder
mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
BundleHeaderProto.Builder
mergeVersion (valor VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setEndianness (valor BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setEndiannessValue (valor interno)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
BundleHeaderProto.Builder
setNumShards (valor interno)
 Number of data files in the bundle.
BundleHeaderProto.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
final BundleHeaderProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
BundleHeaderProto.Builder
setVersion (valor VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setVersion ( VersionDef.Builder construtorForValue)
 Versioning of the tensor bundle format.

Métodos herdados

Métodos Públicos

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

compilação pública BundleHeaderProto ()

público BundleHeaderProto buildPartial ()

público BundleHeaderProto.Builder claro ()

público BundleHeaderProto.Builder clearEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

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

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

público BundleHeaderProto.Builder clearVersion ()

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

clone público BundleHeaderProto.Builder ()

público BundleHeaderProto getDefaultInstanceForType ()

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

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

public BundleHeaderProto.Endianness getEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public int getEndiannessValue ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

público int getNumShards ()

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

Versão públicaDef 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;

public VersionDefOrBuilder getVersionOrBuilder ()

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

hasVersion booleano público ()

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

público final booleano isInitialized ()

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

Lança
IOException

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

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

público BundleHeaderProto.Builder 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;

public BundleHeaderProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

público BundleHeaderProto.Builder setNumShards (valor int)

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

public BundleHeaderProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

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

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;