classe finale publique BundleEntryProto
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
de type Protobuf.BundleEntryProto Classes imbriquées
classe | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
Constantes
int | CRC32C_FIELD_NUMBER | |
int | DTYPE_FIELD_NUMBER | |
int | OFFSET_FIELD_NUMBER | |
int | SHAPE_FIELD_NUMBER | |
int | SHARD_ID_FIELD_NUMBER | |
int | SIZE_FIELD_NUMBER | |
int | SLICES_FIELD_NUMBER |
Méthodes publiques
booléen | est égal (Obj objet) |
int | obtenirCrc32C () The CRC32C checksum of the tensor bytes. |
statique BundleEntryProto | |
BundleEntryProto | |
final statique com.google.protobuf.Descriptors.Descriptor | |
Type de données | getDtype () The tensor dtype and shape. |
int | getDtypeValue () The tensor dtype and shape. |
long | getOffset () int64 offset = 4; |
int | |
TensorShapeProto | obtenirForme () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
int | getShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
long | obtenirTaille () int64 size = 5; |
TensorSliceProto | getSlices (index entier) Iff present, this entry represents a partitioned tensor. |
int | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
Liste< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (index int) Iff present, this entry represents a partitioned tensor. |
Liste<? étend TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
final com.google.protobuf.UnknownFieldSet | |
booléen | aForme () .tensorflow.TensorShapeProto shape = 2; |
int | |
booléen final | |
statique BundleEntryProto.Builder | |
statique BundleEntryProto.Builder | newBuilder (prototype BundleEntryProto ) |
BundleEntryProto.Builder | |
statique BundleEntryProto | parseDelimitedFrom (entrée InputStream) |
statique BundleEntryProto | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique BundleEntryProto | parseFrom (données ByteBuffer) |
statique BundleEntryProto | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique BundleEntryProto | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique BundleEntryProto | parseFrom (entrée com.google.protobuf.CodedInputStream) |
statique BundleEntryProto | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique BundleEntryProto | parseFrom (données com.google.protobuf.ByteString) |
statique BundleEntryProto | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique BundleEntryProto | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
BundleEntryProto.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int CRC32C_FIELD_NUMBER
Valeur constante : 6
public statique final int DTYPE_FIELD_NUMBER
Valeur constante : 1
public statique final int OFFSET_FIELD_NUMBER
Valeur constante : 4
public statique final entier SHAPE_FIELD_NUMBER
Valeur constante : 2
public statique final entier SHARD_ID_FIELD_NUMBER
Valeur constante : 3
public statique final entier SIZE_FIELD_NUMBER
Valeur constante : 5
public statique final int SLICES_FIELD_NUMBER
Valeur constante : 7
Méthodes publiques
public booléen égal (Objet obj)
public int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public long getOffset ()
int64 offset = 4;
publique getParserForType ()
public int getSerializedSize ()
public int getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
public long getSize ()
int64 size = 5;
public TensorSliceProto getSlices (index int)
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
public int getSlicesCount ()
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
Liste publique < TensorSliceProto > getSlicesList ()
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
public TensorSliceProtoOrBuilder getSlicesOrBuilder (index int)
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
Liste publique <? étend TensorSliceProtoOrBuilder > getSlicesOrBuilderList ()
Iff present, this entry represents a partitioned tensor. The previous fields are interpreted as follows: "dtype", "shape": describe the full tensor. "shard_id", "offset", "size", "crc32c": all IGNORED. These information for each slice can be looked up in their own BundleEntryProto, keyed by each "slice_name".
repeated .tensorflow.TensorSliceProto slices = 7;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public booléen hasShape ()
.tensorflow.TensorShapeProto shape = 2;
code de hachage int public ()
public final booléen isInitialized ()
public static BundleEntryProto parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique BundleEntryProto parseFrom (données ByteBuffer)
Jetés
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static BundleEntryProto parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique BundleEntryProto parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public static BundleEntryProto parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique BundleEntryProto parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static BundleEntryProto parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|