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

Classes aninhadas

aula BundleHeaderProto.Builder
 Special header that is associated with a bundle. 
enumeração BundleHeaderProto.Endianness
 An enum indicating the endianness of the platform that produced this
 bundle. 

Constantes

interno ENDIANNESS_FIELD_NUMBER
interno NUM_SHARDS_FIELD_NUMBER
interno VERSION_FIELD_NUMBER

Métodos Públicos

boleano
é igual (objeto obj)
BundleHeaderProto estático
BundleHeaderProto
final estático com.google.protobuf.Descriptors.Descriptor
BundleHeaderProto.Endianness
getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
interno
getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
interno
getNumShards ()
 Number of data files in the bundle.
interno
final com.google.protobuf.UnknownFieldSet
VersãoDef
getVersão ()
 Versioning of the tensor bundle format.
VersãoDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
boleano
hasVersion ()
 Versioning of the tensor bundle format.
interno
booleano final
BundleHeaderProto.Builder estático
BundleHeaderProto.Builder estático
BundleHeaderProto.Builder
BundleHeaderProto estático
parseDelimitedFrom (entrada InputStream)
BundleHeaderProto estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto estático
parseFrom (dados de ByteBuffer)
BundleHeaderProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto estático
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
BundleHeaderProto estático
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto estático
parseFrom (dados com.google.protobuf.ByteString)
BundleHeaderProto estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleHeaderProto estático
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
BundleHeaderProto.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

público estático final int ENDIANNESS_FIELD_NUMBER

Valor Constante: 2

int final estático público NUM_SHARDS_FIELD_NUMBER

Valor Constante: 1

público estático final int VERSION_FIELD_NUMBER

Valor Constante: 3

Métodos Públicos

booleano público é igual (Object obj)

público estático BundleHeaderProto getDefaultInstance ()

público BundleHeaderProto getDefaultInstanceForType ()

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public BundleHeaderProto.Endianness getEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

public int getEndiannessValue ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

público int getNumShards ()

 Number of data files in the bundle.
 
int32 num_shards = 1;

público getParserForType ()

público int getSerializedSize ()

final público com.google.protobuf.UnknownFieldSet getUnknownFields ()

Versão públicaDef getVersion ()

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

public VersionDefOrBuilder getVersionOrBuilder ()

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

hasVersion booleano público ()

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

hashCode int público ()

público final booleano isInitialized ()

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

público estático BundleHeaderProto.Builder newBuilder ()

público BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parseDelimitedFrom (entrada InputStream)

Lança
IOException

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

Lança
IOException

público estático BundleHeaderProto parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

público estático BundleHeaderProto parseFrom (entrada com.google.protobuf.CodedInputStream)

Lança
IOException

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

Lança
InvalidProtocolBufferException

público estático BundleHeaderProto parseFrom (dados com.google.protobuf.ByteString)

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

estática pública analisador ()

público BundleHeaderProto.Builder toBuilder ()

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

Lança
IOException