BundleEntryProto

classe final pública BundleEntryProto

 Describes the metadata related to a checkpointed tensor.
 
tensorflow.BundleEntryProto tipo tensorflow.BundleEntryProto

Classes aninhadas

aula 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étodos Públicos

boleano
igual a (objeto obj)
int
getCrc32C ()
 The CRC32C checksum of the tensor bytes.
BundleEntryProto estático
BundleEntryProto
final static com.google.protobuf.Descriptors.Descriptor
Tipo de dados
getDtype ()
 The tensor dtype and shape.
int
getDtypeValue ()
 The tensor dtype and shape.
longo
getOffset ()
int64 offset = 4;
int
TensorShapeProto
getShape ()
.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).
longo
getSize ()
int64 size = 5;
TensorSliceProto
getSlices (índice int)
 Iff present, this entry represents a partitioned tensor.
int
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
boleano
hasShape ()
.tensorflow.TensorShapeProto shape = 2;
int
final booleano
static BundleEntryProto.Builder
static BundleEntryProto.Builder
BundleEntryProto.Builder
BundleEntryProto estático
parseDelimitedFrom (InputStream input)
BundleEntryProto estático
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto estático
parseFrom (dados ByteBuffer)
BundleEntryProto estático
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto estático
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto estático
parseFrom (com.google.protobuf.CodedInputStream input)
BundleEntryProto estático
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto estático
parseFrom (com.google.protobuf.ByteString data)
BundleEntryProto estático
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BundleEntryProto estático
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
BundleEntryProto.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int CRC32C_FIELD_NUMBER

Valor constante: 6

public static final int DTYPE_FIELD_NUMBER

Valor Constante: 1

public static final int OFFSET_FIELD_NUMBER

Valor constante: 4

public static 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

public static final int SLICES_FIELD_NUMBER

Valor constante: 7

Métodos Públicos

public boolean equals (Object obj)

public int getCrc32C ()

 The CRC32C checksum of the tensor bytes.
 
fixed32 crc32c = 6;

public static BundleEntryProto getDefaultInstance ()

public BundleEntryProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public DataType getDtype ()

 The tensor dtype and shape.
 
.tensorflow.DataType dtype = 1;

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 TensorShapeProto getShape ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

.tensorflow.TensorShapeProto shape = 2;

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 (int index)

 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;

public List < 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 (índice interno )

 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;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasShape ()

.tensorflow.TensorShapeProto shape = 2;

public int hashCode ()

public final boolean isInitialized ()

public static BundleEntryProto.Builder newBuilder ()

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

public BundleEntryProto.Builder newBuilderForType ()

public static BundleEntryProto parseDelimitedFrom (InputStream input)

Lança
IOException

public static BundleEntryProto parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static BundleEntryProto parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static BundleEntryProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static BundleEntryProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static BundleEntryProto parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

public static BundleEntryProto parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static BundleEntryProto parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

public static BundleEntryProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static BundleEntryProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public BundleEntryProto.Builder toBuilder ()

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

Lança
IOException