giao diện công cộng BundleEntryProtoOrBuilder
| Các lớp con gián tiếp đã biết |
Phương pháp công khai
| int trừu tượng | getCrc32C () The CRC32C checksum of the tensor bytes. |
| kiểu dữ liệu trừu tượng | getDtype () The tensor dtype and shape. |
| int trừu tượng | getDtypeValue () The tensor dtype and shape. |
| trừu tượng dài | getOffset () int64 offset = 4; |
| trừu tượng TensorShapeProto | getShape () .tensorflow.TensorShapeProto shape = 2; |
| trừu tượng TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
| int trừu tượng | getShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
| trừu tượng dài | lấyKích thước () int64 size = 5; |
| trừu tượng TensorSliceProto | getSlices (chỉ mục int) Iff present, this entry represents a partitioned tensor. |
| int trừu tượng | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
| Danh sách trừu tượng< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
| trừu tượng TensorSliceProtoOrBuilder | getSlicesOrBuilder (chỉ mục int) Iff present, this entry represents a partitioned tensor. |
| Danh sách trừu tượng<? mở rộng TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
| trừu tượng boolean | hasShape () .tensorflow.TensorShapeProto shape = 2; |
Phương pháp công khai
tóm tắt công khai int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6; tóm tắt công khai int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1; tóm tắt công khai dài getOffset ()
int64 offset = 4;
tóm tắt công khai TensorShapeProtoOrBuilder getShapeOrBuilder ()
.tensorflow.TensorShapeProto shape = 2;
tóm tắt công khai int getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3; tóm tắt công khai dài getSize ()
int64 size = 5;
tóm tắt công khai TensorSliceProto getSlices (chỉ mục 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; tóm tắt công khai 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; Danh sách tóm tắt công khai< 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; tóm tắt công khai TensorSliceProtoOrBuilder getSlicesOrBuilder (chỉ mục 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; Danh sách tóm tắt công khai<? mở rộng 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; boolean trừu tượng công khai hasShape ()
.tensorflow.TensorShapeProto shape = 2;