classe final pública BundleEntryProto
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
Classes aninhadas
aula | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
Constantes
interno | CRC32C_FIELD_NUMBER | |
interno | DTYPE_FIELD_NUMBER | |
interno | OFFSET_FIELD_NUMBER | |
interno | SHAPE_FIELD_NUMBER | |
interno | SHARD_ID_FIELD_NUMBER | |
interno | SIZE_FIELD_NUMBER | |
interno | SLICES_FIELD_NUMBER |
Métodos Públicos
booleano | é igual (objeto obj) |
interno | getCrc32C () The CRC32C checksum of the tensor bytes. |
BundleEntryProto estático | |
BundleEntryProto | |
final estático com.google.protobuf.Descriptors.Descriptor | |
Tipo de dados | getDtype () The tensor dtype and shape. |
interno | getDtypeValue () The tensor dtype and shape. |
longo | getOffset () int64 offset = 4; |
interno | |
TensorShapeProto | obterForma () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
interno | getShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
longo | getSize () int64 size = 5; |
TensorSliceProto | getSlices (índice interno) Iff present, this entry represents a partitioned tensor. |
interno | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
Lista< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (índice interno) Iff present, this entry represents a partitioned tensor. |
Lista<? estende TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
final com.google.protobuf.UnknownFieldSet | |
booleano | temForma () .tensorflow.TensorShapeProto shape = 2; |
interno | código hash () |
booleano final | |
BundleEntryProto.Builder estático | |
BundleEntryProto.Builder estático | newBuilder (protótipo BundleEntryProto ) |
BundleEntryProto.Builder | |
BundleEntryProto estático | parseDelimitedFrom (entrada InputStream) |
BundleEntryProto estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto estático | parseFrom (dados de ByteBuffer) |
BundleEntryProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
BundleEntryProto estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto estático | parseFrom (dados com.google.protobuf.ByteString) |
BundleEntryProto estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundleEntryProto estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
BundleEntryProto.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int CRC32C_FIELD_NUMBER
Valor Constante: 6
público estático 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
int final estático público SHARD_ID_FIELD_NUMBER
Valor Constante: 3
int final estático público SIZE_FIELD_NUMBER
Valor Constante: 5
público estático final int SLICES_FIELD_NUMBER
Valor Constante: 7
Métodos Públicos
booleano público é igual (Object obj)
público int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
getOffset longo público ()
int64 offset = 4;
público getParserForType ()
público int getSerializedSize ()
público int getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
getSize longo público ()
int64 size = 5;
público 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;
público 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;
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;
público 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;
Lista pública<? 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;
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasShape booleano público ()
.tensorflow.TensorShapeProto shape = 2;
hashCode int público ()
público final booleano isInitialized ()
public static BundleEntryProto parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static BundleEntryProto parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static BundleEntryProto parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
public static BundleEntryProto parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
público estático BundleEntryProto parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static BundleEntryProto parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|