BundleHeaderProto

classe finale publique 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 de type Protobuf.BundleHeaderProto

Classes imbriquées

classe BundleHeaderProto.Builder
 Special header that is associated with a bundle. 
énumération BundleHeaderProto.Endianness
 An enum indicating the endianness of the platform that produced this
 bundle. 

Constantes

int ENDIANNESS_FIELD_NUMBER
int NUM_SHARDS_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Méthodes publiques

booléen
est égal (Obj objet)
statique BundleHeaderProto
BundleHeaderProto
final statique 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
obtenirVersion ()
 Versioning of the tensor bundle format.
VersionDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
booléen
aVersion ()
 Versioning of the tensor bundle format.
int
booléen final
statique BundleHeaderProto.Builder
statique BundleHeaderProto.Builder
BundleHeaderProto.Builder
statique BundleHeaderProto
parseDelimitedFrom (entrée InputStream)
statique BundleHeaderProto
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique BundleHeaderProto
parseFrom (données ByteBuffer)
statique BundleHeaderProto
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique BundleHeaderProto
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique BundleHeaderProto
parseFrom (entrée com.google.protobuf.CodedInputStream)
statique BundleHeaderProto
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique BundleHeaderProto
parseFrom (données com.google.protobuf.ByteString)
statique BundleHeaderProto
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique BundleHeaderProto
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
BundleHeaderProto.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int ENDIANNESS_FIELD_NUMBER

Valeur constante : 2

public statique final entier NUM_SHARDS_FIELD_NUMBER

Valeur constante : 1

public statique final int VERSION_FIELD_NUMBER

Valeur constante : 3

Méthodes publiques

public booléen égal (Objet obj)

public statique BundleHeaderProto getDefaultInstance ()

public BundleHeaderProto getDefaultInstanceForType ()

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

publique getParserForType ()

public int getSerializedSize ()

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

VersionDef publique getVersion ()

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

version publiqueDefOrBuilder getVersionOrBuilder ()

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

public booléen hasVersion ()

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

code de hachage int public ()

public final booléen isInitialized ()

public statique BundleHeaderProto.Builder newBuilder (prototype BundleHeaderProto )

public statique BundleHeaderProto.Builder newBuilder ()

public BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static BundleHeaderProto parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static BundleHeaderProto parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static BundleHeaderProto parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static BundleHeaderProto parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique BundleHeaderProto parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static BundleHeaderProto parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique BundleHeaderProto parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static BundleHeaderProto parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static BundleHeaderProto parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public BundleHeaderProto.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException