BundleHeaderProto

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

Classes aninhadas

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

Constantes

int ENDIANNESS_FIELD_NUMBER
int NUM_SHARDS_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Métodos Públicos

boleano
igual a (objeto obj)
static 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.
boleano
hasVersion ()
 Versioning of the tensor bundle format.
int
final booleano
static BundleHeaderProto.Builder
static BundleHeaderProto.Builder
BundleHeaderProto.Builder
static BundleHeaderProto
parseDelimitedFrom (input InputStream)
static BundleHeaderProto
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (dados ByteBuffer)
static BundleHeaderProto
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (com.google.protobuf.CodedInputStream input)
static BundleHeaderProto
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (com.google.protobuf.ByteString data)
static BundleHeaderProto
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
BundleHeaderProto.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int ENDIANNESS_FIELD_NUMBER

Valor constante: 2

public static final int NUM_SHARDS_FIELD_NUMBER

Valor Constante: 1

public static final int VERSION_FIELD_NUMBER

Valor Constante: 3

Métodos Públicos

public boolean equals (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;

público getParserForType ()

public int getSerializedSize ()

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

pública VersionDef getVersion ()

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

public final boolean isInitialized ()

public static BundleHeaderProto.Builder newBuilder (protótipo BundleHeaderProto )

public static BundleHeaderProto.Builder newBuilder ()

public BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parseDelimitedFrom (InputStream input)

Lança
IOException

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

Lança
IOException

public static BundleHeaderProto parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

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

Lança
IOException

public static BundleHeaderProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static BundleHeaderProto parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

public static BundleHeaderProto parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static BundleHeaderProto parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

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

Lança
IOException

public static BundleHeaderProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public BundleHeaderProto.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException