public interface
BundleEntryProtoOrBuilder
Known Indirect Subclasses |
Public Methods
abstract int |
getCrc32C()
The CRC32C checksum of the tensor bytes. |
abstract DataType |
getDtype()
The tensor dtype and shape. |
abstract int |
getDtypeValue()
The tensor dtype and shape. |
abstract long |
getOffset()
int64 offset = 4;
|
abstract TensorShapeProto |
getShape()
.tensorflow.TensorShapeProto shape = 2;
|
abstract TensorShapeProtoOrBuilder |
getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2;
|
abstract int |
getShardId()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
abstract long |
getSize()
int64 size = 5;
|
abstract TensorSliceProto |
getSlices(int index)
Iff present, this entry represents a partitioned tensor. |
abstract int |
getSlicesCount()
Iff present, this entry represents a partitioned tensor. |
abstract List<TensorSliceProto> |
getSlicesList()
Iff present, this entry represents a partitioned tensor. |
abstract TensorSliceProtoOrBuilder |
getSlicesOrBuilder(int index)
Iff present, this entry represents a partitioned tensor. |
abstract List<? extends TensorSliceProtoOrBuilder> |
getSlicesOrBuilderList()
Iff present, this entry represents a partitioned tensor. |
abstract boolean |
hasShape()
.tensorflow.TensorShapeProto shape = 2;
|
Public Methods
public abstract int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public abstract int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public abstract long getOffset ()
int64 offset = 4;
public abstract TensorShapeProtoOrBuilder getShapeOrBuilder ()
.tensorflow.TensorShapeProto shape = 2;
public abstract int getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
public abstract long getSize ()
int64 size = 5;
public abstract 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 abstract 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 abstract 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 abstract TensorSliceProtoOrBuilder getSlicesOrBuilder (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 abstract List<? extends 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 abstract boolean hasShape ()
.tensorflow.TensorShapeProto shape = 2;