BundleHeaderProto

כיתת גמר ציבורית BundleHeaderProto

 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
 Special header that is associated with a bundle. 
enum BundleHeaderProto.Endianness
 An enum indicating the endianness of the platform that produced this
 bundle. 

קבועים

int ENDIANNESS_FIELD_NUMBER
int NUM_SHARDS_FIELD_NUMBER
int VERSION_FIELD_NUMBER

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

בוליאני
שווה (Object obj)
סטטי BundleHeaderProto
BundleHeaderProto
final static 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.
int
final com.google.protobuf.UnknownFieldSet
VersionDef
getVersion ()
 Versioning of the tensor bundle format.
VersionDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
בוליאני
hasVersion ()
 Versioning of the tensor bundle format.
int
בוליאנית סופית
סטטי BundleHeaderProto.Builder
newBuilder (אב-טיפוס BundleHeaderProto )
סטטי BundleHeaderProto.Builder
BundleHeaderProto.Builder
סטטי BundleHeaderProto
parseDelimitedFrom (קלט InputStream)
סטטי BundleHeaderProto
parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי BundleHeaderProto
parseFrom (נתוני ByteBuffer)
סטטי BundleHeaderProto
parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי BundleHeaderProto
parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי BundleHeaderProto
parseFrom (קלט com.google.protobuf.CodedInputStream)
סטטי BundleHeaderProto
parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי BundleHeaderProto
parseFrom (נתוני com.google.protobuf.ByteString)
סטטי BundleHeaderProto
parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי BundleHeaderProto
parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטָטִי
BundleHeaderProto.Builder
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

אינט סופי סטטי ציבורי ENDIANNESS_FIELD_NUMBER

ערך קבוע: 2

גמר סטטי ציבורי NUM_SHARDS_FIELD_NUMBER

ערך קבוע: 1

אינט סופי סטטי ציבורי VERSION_FIELD_NUMBER

ערך קבוע: 3

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

שווה ערך בוליאני ציבורי (Object obj)

public static BundleHeaderProto getDefaultInstance ()

public BundleHeaderProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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;

פּוּמְבֵּי getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public VersionDef getVersion ()

 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 int hashCode ()

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

BundleHeaderProto.Builder newBuilder סטטי ציבורי (אב-טיפוס BundleHeaderProto )

סטטי ציבורי BundleHeaderProto.Builder newBuilder ()

public BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static BundleHeaderProto parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static BundleHeaderProto parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

public static BundleHeaderProto parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static BundleHeaderProto parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

Public static BundleHeaderProto parseFrom (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

public static BundleHeaderProto parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

BundleHeaderProto parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

public static BundleHeaderProto parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static BundleHeaderProto parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

public BundleHeaderProto.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException