BundleHeaderProto.Builder

מחלקה סופית סטטית ציבורית 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 מסוג Protobuf.BundleHeaderProto

שיטות ציבוריות

BundleHeaderProto.Builder
addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
BundleHeaderProto
BundleHeaderProto
BundleHeaderProto.Builder
BundleHeaderProto.Builder
clearEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
clearField (שדה 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
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.
בוליאני
hasVersion ()
 Versioning of the tensor bundle format.
בוליאנית סופית
BundleHeaderProto.Builder
mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto.Builder
mergeFrom (com.google.protobuf.Message אחר)
final BundleHeaderProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder
mergeVersion (ערך VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setEndianness (ערך BundleHeaderProto.Endianness )
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setEndiannessValue (ערך int)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
BundleHeaderProto.Builder
setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
BundleHeaderProto.Builder
setNumShards (ערך int)
 Number of data files in the bundle.
BundleHeaderProto.Builder
setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)
final BundleHeaderProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
BundleHeaderProto.Builder
setVersion (ערך VersionDef )
 Versioning of the tensor bundle format.
BundleHeaderProto.Builder
setVersion ( VersionDef.Builder builderForValue)
 Versioning of the tensor bundle format.

שיטות בירושה

שיטות ציבוריות

public BundleHeaderProto.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

public BundleHeaderProto build ()

public BundleHeaderProto buildPartial ()

public BundleHeaderProto.Builder clear ()

public BundleHeaderProto.Builder clearEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder clearField (שדה 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;

שיבוט ציבורי BundleHeaderProto.Builder ()

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;

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;

יש גרסה בוליאני ציבורית ()

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

בוליאני הסופי הציבורי הוא אתחול ()

public BundleHeaderProto.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public BundleHeaderProto.Builder mergeFrom (com.google.protobuf.Message אחר)

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

public BundleHeaderProto.Builder mergeVersion (ערך VersionDef )

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

public BundleHeaderProto.Builder setEndianness (ערך BundleHeaderProto.Endianness )

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder setEndiannessValue (ערך int)

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public BundleHeaderProto.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

public BundleHeaderProto.Builder setNumShards (ערך int)

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

public BundleHeaderProto.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס int, ערך אובייקט)

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

public BundleHeaderProto.Builder setVersion (ערך 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;