clase final pública BundleEntryProto
Describes the metadata related to a checkpointed tensor.Protobuf tipo
tensorflow.BundleEntryProto
Clases anidadas
clase | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
Constantes
En t | CRC32C_FIELD_NUMBER | |
En t | DTYPE_FIELD_NUMBER | |
En t | OFFSET_FIELD_NUMBER | |
En t | SHAPE_FIELD_NUMBER | |
En t | SHARD_ID_FIELD_NUMBER | |
En t | SIZE_FIELD_NUMBER | |
En t | SLICES_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
En t | getCrc32C () The CRC32C checksum of the tensor bytes. |
static BundleEntryProto | |
BundleEntryProto | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Tipo de datos | getDtype () The tensor dtype and shape. |
En t | getDtypeValue () The tensor dtype and shape. |
largo | getOffset () int64 offset = 4; |
En t | |
TensorShapeProto | getShape () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
En t | getShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
largo | getSize () int64 size = 5; |
TensorSliceProto | getSlices (índice int) Iff present, this entry represents a partitioned tensor. |
En t | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
Lista < TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (índice int) Iff present, this entry represents a partitioned tensor. |
Lista <? extiende TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
final com.google.protobuf.UnknownFieldSet | |
booleano | hasShape () .tensorflow.TensorShapeProto shape = 2; |
En t | hashCode () |
booleano final | |
static BundleEntryProto.Builder | newBuilder () |
static BundleEntryProto.Builder | newBuilder (prototipo BundleEntryProto ) |
BundleEntryProto.Builder | |
static BundleEntryProto | parseDelimitedFrom (entrada InputStream) |
static BundleEntryProto | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto | parseFrom (datos ByteBuffer) |
static BundleEntryProto | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto | parseFrom (entrada com.google.protobuf.CodedInputStream) |
static BundleEntryProto | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto | parseFrom (datos com.google.protobuf.ByteString) |
static BundleEntryProto | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BundleEntryProto | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
BundleEntryProto.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
público estático final int CRC32C_FIELD_NUMBER
Valor constante: 6
public static final int DTYPE_FIELD_NUMBER
Valor constante: 1
público estático final int OFFSET_FIELD_NUMBER
Valor constante: 4
público estático final int SHAPE_FIELD_NUMBER
Valor constante: 2
público estático final int SHARD_ID_FIELD_NUMBER
Valor constante: 3
public static final int SIZE_FIELD_NUMBER
Valor constante: 5
público estático final int SLICES_FIELD_NUMBER
Valor constante: 7
Métodos públicos
public boolean es igual a (Object obj)
public int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
público estático 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;
público 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 (índice 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;
.tensorflow.TensorSliceProto 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;
.tensorflow.TensorSliceProto repeated .tensorflow.TensorSliceProto slices = 7;
Lista pública < 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;
.tensorflow.TensorSliceProto repeated .tensorflow.TensorSliceProto slices = 7;
public TensorSliceProtoOrBuilder getSlicesOrBuilder (índice 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;
.tensorflow.TensorSliceProto repeated .tensorflow.TensorSliceProto slices = 7;
lista pública <? extiende 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;
.tensorflow.TensorSliceProto repeated .tensorflow.TensorSliceProto slices = 7;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasShape ()
.tensorflow.TensorShapeProto shape = 2;
public int hashCode ()
public final boolean isInitialized ()
public static BundleEntryProto parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static BundleEntryProto parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static BundleEntryProto parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
public static BundleEntryProto parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (com.google.protobuf.ByteString data)
Lanza
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static BundleEntryProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|