classe finale pubblica BundleEntryProto
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
Classi nidificate
classe | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
Costanti
int | CRC32C_NUMERO_CAMPO | |
int | DTYPE_FIELD_NUMBER | |
int | OFFSET_FIELD_NUMBER | |
int | FORMA_CAMPO_NUMERO | |
int | SHARD_ID_FIELD_NUMBER | |
int | DIMENSIONE_CAMPO_NUMERO | |
int | FETTE_CAMPO_NUMERO |
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
int | getCrc32C () The CRC32C checksum of the tensor bytes. |
BundleEntryProto statico | |
BundleEntryProto | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
Tipo di dati | getDtipo () The tensor dtype and shape. |
int | getDtipoValore () The tensor dtype and shape. |
lungo | getOffset () int64 offset = 4; |
int | |
TensorShapeProto | ottieni forma () .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). |
lungo | ottienidimensione () int64 size = 5; |
TensorSliceProto | getSlices (indice int) Iff present, this entry represents a partitioned tensor. |
int | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
Elenco< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (indice int) Iff present, this entry represents a partitioned tensor. |
Elenco<? estende TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
finale com.google.protobuf.UnknownFieldSet | |
booleano | haForma () .tensorflow.TensorShapeProto shape = 2; |
int | codicehash () |
booleano finale | |
BundleEntryProto.Builder statico | |
BundleEntryProto.Builder statico | newBuilder (prototipo BundleEntryProto ) |
BundleEntryProto.Builder | |
BundleEntryProto statico | parseDelimitedFrom (input InputStream) |
BundleEntryProto statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statico | parseFrom (dati ByteBuffer) |
BundleEntryProto statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
BundleEntryProto statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
BundleEntryProto statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statico | parseFrom (dati com.google.protobuf.ByteString) |
BundleEntryProto statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto statico | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
BundleEntryProto.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int CRC32C_FIELD_NUMBER
Valore costante: 6
public static final int DTYPE_FIELD_NUMBER
Valore costante: 1
public static final int OFFSET_FIELD_NUMBER
Valore costante: 4
public static final int SHAPE_FIELD_NUMBER
Valore costante: 2
public static final int SHARD_ID_FIELD_NUMBER
Valore costante: 3
pubblico statico finale intSize_FIELD_NUMBER
Valore costante: 5
public static final int SLICES_FIELD_NUMBER
Valore costante: 7
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
pubblico int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
pubblico lungo getOffset ()
int64 offset = 4;
pubblico getParserForType ()
public int getSerializedSize ()
pubblico int getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
pubblico lungo getSize ()
int64 size = 5;
public TensorSliceProto getSlices (indice 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;
Elenco pubblico< 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 (indice 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;
Elenco pubblico<? estende 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;
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasShape booleano pubblico ()
.tensorflow.TensorShapeProto shape = 2;
public int hashCode ()
public final booleano isInitialized ()
public static BundleEntryProto parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public static BundleEntryProto parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public static BundleEntryProto parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico BundleEntryProto (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
public static BundleEntryProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
ParseFrom pubblico statico BundleEntryProto (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
bundleEntryProto statico pubblico parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|