BundleHeaderProto

classe finale pubblica 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.
 
Tipo di protobuf tensorflow.BundleHeaderProto

Classi nidificate

classe 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. 

Costanti

int ENDIANNESS_FIELD_NUMBER
int NUM_SHARDS_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
BundleHeaderProto statico
BundleHeaderProto
com.google.protobuf.Descriptors.Descriptor statico finale
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
finale com.google.protobuf.UnknownFieldSet
VersioneDef
getVersione ()
 Versioning of the tensor bundle format.
VersioneDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
booleano
hasVersion ()
 Versioning of the tensor bundle format.
int
booleano finale
BundleHeaderProto.Builder statico
BundleHeaderProto.Builder statico
BundleHeaderProto.Builder
BundleHeaderProto statico
parseDelimitedFrom (input InputStream)
BundleHeaderProto statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto statico
parseFrom (dati ByteBuffer)
BundleHeaderProto statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
BundleHeaderProto statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
BundleHeaderProto statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto statico
parseFrom (dati com.google.protobuf.ByteString)
BundleHeaderProto statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto statico
parseFrom (dati com.google.protobuf.ByteString, estensione Com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
BundleHeaderProto.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

pubblico statico finale int ENDIANNESS_FIELD_NUMBER

Valore costante: 2

public static final int NUM_SHARDS_FIELD_NUMBER

Valore costante: 1

public static final int VERSION_FIELD_NUMBER

Valore costante: 3

Metodi pubblici

booleano pubblico è uguale a (Oggetto obj)

bundleHeaderProto statico pubblico 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;

pubblico getParserForType ()

public int getSerializedSize ()

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

public VersionDef getVersion ()

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

versione pubblicaDefOrBuilder getVersionOrBuilder ()

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

hasVersion booleano pubblico ()

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

public int hashCode ()

public final booleano isInitialized ()

public static BundleHeaderProto.Builder newBuilder (prototipo BundleHeaderProto )

pubblico statico BundleHeaderProto.Builder newBuilder ()

pubblico BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parseDelimitedFrom (input InputStream)

Lancia
IOException

public static BundleHeaderProto parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico BundleHeaderProto (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

bundleHeaderProto statico pubblico parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)

Lancia
IOException

bundleHeaderProto statico pubblico parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico BundleHeaderProto (input com.google.protobuf.CodedInputStream)

Lancia
IOException

bundleHeaderProto statico pubblico parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

ParseFrom pubblico statico BundleHeaderProto (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

public static BundleHeaderProto parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

bundleHeaderProto statico pubblico parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

public BundleHeaderProto.Builder toBuilder ()

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

Lancia
IOException