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

BundleHeaderProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
BundleHeaderProto
BundleHeaderProto
BundleHeaderProto.Builder
claro ()
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
clearVersion ()
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
clonar ()
BundleHeaderProto
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
BundleHeaderProto.Endianness
getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
En t
getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
En t
getNumShards ()
 Number of data files in the bundle.
VersionDef
getVersion ()
 Versioning of the tensor bundle format.
VersionDef.Builder
getVersionBuilder ()
 Versioning of the tensor bundle format.
VersionDefOrBuilder
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 otro)
BundleHeaderProto.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder
mergeVersion (valor VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setEndianness (valor de BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setEndiannessValue (valor int)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
BundleHeaderProto.Builder
setNumShards (valor int)
 Number of data files in the bundle.
BundleHeaderProto.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
BundleHeaderProto.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder
setVersion (valor VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setVersion ( VersionDef.Builder builderForValue)
 Versioning of the tensor bundle format.

Métodos heredados

Métodos públicos

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

public BundleHeaderProto build ()

public BundleHeaderProto buildPartial ()

public BundleHeaderProto.Builder clear ()

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;

public BundleHeaderProto.Builder clone ()

public BundleHeaderProto getDefaultInstanceForType ()

público estático 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;

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;

public VersionDefOrBuilder getVersionOrBuilder ()

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

public boolean hasVersion ()

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

public final boolean isInitialized ()

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

Lanza
IOException

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

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

public BundleHeaderProto.Builder mergeVersion (valor VersionDef )

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

public BundleHeaderProto.Builder setEndianness (valor de BundleHeaderProto.Endianness )

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder setEndiannessValue (valor int)

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

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

public 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 del objeto)

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

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