BundleHeaderProto

clase 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.
 
Protobuf tipo tensorflow.BundleHeaderProto

Clases anidadas

clase BundleHeaderProto.Builder
 Special header that is associated with a bundle. 
enumeración BundleHeaderProto.Endianness
 An enum indicating the endianness of the platform that produced this
 bundle. 

Constantes

En t ENDIANNESS_FIELD_NUMBER
En t NUM_SHARDS_FIELD_NUMBER
En t VERSION_FIELD_NUMBER

Métodos públicos

booleano
es igual a (Objeto obj)
static BundleHeaderProto
BundleHeaderProto
com.google.protobuf.Descriptors.Descriptor estático final
BundleHeaderProto.Endianness
getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
En t
getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
En t
getNumShards ()
 Number of data files in the bundle.
En t
final com.google.protobuf.UnknownFieldSet
VersionDef
getVersion ()
 Versioning of the tensor bundle format.
VersionDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
booleano
hasVersion ()
 Versioning of the tensor bundle format.
En t
booleano final
static BundleHeaderProto.Builder
static BundleHeaderProto.Builder
BundleHeaderProto.Builder
static BundleHeaderProto
parseDelimitedFrom (entrada InputStream)
static BundleHeaderProto
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (datos ByteBuffer)
static BundleHeaderProto
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (entrada com.google.protobuf.CodedInputStream)
static BundleHeaderProto
parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (datos com.google.protobuf.ByteString)
static BundleHeaderProto
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleHeaderProto
parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
BundleHeaderProto.Builder
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

público estático 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 es igual a (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 ()

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;

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 (prototipo BundleHeaderProto )

public static BundleHeaderProto.Builder newBuilder ()

public BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parseDelimitedFrom (entrada InputStream)

Lanza
IOException

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

Lanza
IOException

public static BundleHeaderProto parseFrom (datos ByteBuffer)

Lanza
InvalidProtocolBufferException

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

Lanza
IOException

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

Lanza
InvalidProtocolBufferException

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

Lanza
IOException

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

Lanza
InvalidProtocolBufferException

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

Lanza
InvalidProtocolBufferException

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

Lanza
IOException

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

Lanza
InvalidProtocolBufferException

público estático analizador ()

public BundleHeaderProto.Builder toBuilder ()

public void writeTo (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOException