BundleEntryProto

public final class BundleEntryProto

 Describes the metadata related to a checkpointed tensor.
 
Protobuf type tensorflow.BundleEntryProto

Nested Classes

class BundleEntryProto.Builder
 Describes the metadata related to a checkpointed tensor. 

Constants

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

Public Methods

boolean
equals (Object obj)
int
getCrc32C ()
 The CRC32C checksum of the tensor bytes.
static BundleEntryProto
BundleEntryProto
final static com.google.protobuf.Descriptors.Descriptor
DataType
getDtype ()
 The tensor dtype and shape.
int
getDtypeValue ()
 The tensor dtype and shape.
long
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).
long
getSize ()
int64 size = 5;
TensorSliceProto
getSlices (int index)
 Iff present, this entry represents a partitioned tensor.
int
getSlicesCount ()
 Iff present, this entry represents a partitioned tensor.
List< TensorSliceProto >
getSlicesList ()
 Iff present, this entry represents a partitioned tensor.
TensorSliceProtoOrBuilder
getSlicesOrBuilder (int index)
 Iff present, this entry represents a partitioned tensor.
List<? extends TensorSliceProtoOrBuilder >
getSlicesOrBuilderList ()
 Iff present, this entry represents a partitioned tensor.
final com.google.protobuf.UnknownFieldSet
boolean
hasShape ()
.tensorflow.TensorShapeProto shape = 2;
int
final boolean
static BundleEntryProto.Builder
static BundleEntryProto.Builder
BundleEntryProto.Builder
static BundleEntryProto
parseDelimitedFrom (InputStream input)
static BundleEntryProto
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleEntryProto
parseFrom (ByteBuffer data)
static BundleEntryProto
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleEntryProto
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleEntryProto
parseFrom (com.google.protobuf.CodedInputStream input)
static BundleEntryProto
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleEntryProto
parseFrom (com.google.protobuf.ByteString data)
static BundleEntryProto
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BundleEntryProto
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
BundleEntryProto.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int CRC32C_FIELD_NUMBER

Constant Value: 6

public static final int DTYPE_FIELD_NUMBER

Constant Value: 1

public static final int OFFSET_FIELD_NUMBER

Constant Value: 4

public static final int SHAPE_FIELD_NUMBER

Constant Value: 2

public static final int SHARD_ID_FIELD_NUMBER

Constant Value: 3

public static final int SIZE_FIELD_NUMBER

Constant Value: 5

public static final int SLICES_FIELD_NUMBER

Constant Value: 7

Public Methods

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;

public 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