BundleHeaderProto.Builder

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

Métodos Públicos

BundleHeaderProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
BundleHeaderProto
build ()
BundleHeaderProto
BundleHeaderProto.Builder
limpar ()
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
clone ()
BundleHeaderProto
final static 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
getVersion ()
 Versioning of the tensor bundle format.
VersionDef.Builder
getVersionBuilder ()
 Versioning of the tensor bundle format.
VersionDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
boleano
hasVersion ()
 Versioning of the tensor bundle format.
final booleano
BundleHeaderProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto.Builder
mergeFrom (com.google.protobuf.Message other)
final BundleHeaderProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder
mergeVersion ( VersionDef valor)
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setEndianness ( BundleHeaderProto.Endianness value)
.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 do 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 do objeto)
final BundleHeaderProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder
setVersion ( VersionDef valor)
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setVersion ( VersionDef.Builder builderForValue)
 Versioning of the tensor bundle format.

Métodos herdados

Métodos Públicos

public BundleHeaderProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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 ()

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

pública VersionDef getVersion ()

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

pública VersionDef.Builder getVersionBuilder ()

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

pública 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 (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

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

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

pública BundleHeaderProto.Builder mergeVersion ( VersionDef valor)

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

public BundleHeaderProto.Builder setEndianness (valor 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 do 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 do objeto)

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

pública BundleHeaderProto.Builder setVersion ( VersionDef valor)

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

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

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