lớp cuối cùng công khai BundleEntryProto
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto Các lớp lồng nhau
| lớp học | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. | |
Hằng số
| 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 |
Phương pháp công khai
| boolean | bằng (Đối tượng obj) |
| int | getCrc32C () The CRC32C checksum of the tensor bytes. |
| BundleEntryProto tĩnh | |
| GóiNhậpProto | |
| com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
| Kiểu dữ liệu | getDtype () The tensor dtype and shape. |
| int | getDtypeValue () The tensor dtype and shape. |
| dài | 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). |
| dài | lấyKích thước () int64 size = 5; |
| TensorLátProto | getSlices (chỉ mục int) Iff present, this entry represents a partitioned tensor. |
| int | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
| Danh sách< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
| TensorSliceProtoOrBuilder | getSlicesOrBuilder (chỉ mục int) Iff present, this entry represents a partitioned tensor. |
| Danh sách<? mở rộng TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
| cuối cùng com.google.protobuf.UnknownFieldSet | |
| boolean | hasShape () .tensorflow.TensorShapeProto shape = 2; |
| int | mã băm () |
| boolean cuối cùng | |
| BundleEntryProto.Builder tĩnh | |
| BundleEntryProto.Builder tĩnh | newBuilder (nguyên mẫu BundleEntryProto ) |
| BundleEntryProto.Builder | |
| BundleEntryProto tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào) |
| BundleEntryProto tĩnh | phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry) |
| BundleEntryProto tĩnh | ParseFrom (dữ liệu ByteBuffer) |
| BundleEntryProto tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| BundleEntryProto tĩnh | ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| BundleEntryProto tĩnh | ParseFrom (đầu vào com.google.protobuf.CodedInputStream) |
| BundleEntryProto tĩnh | ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| BundleEntryProto tĩnh | ParseFrom (dữ liệu com.google.protobuf.ByteString) |
| BundleEntryProto tĩnh | ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| BundleEntryProto tĩnh | ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| tĩnh | |
| BundleEntryProto.Builder | toBuilder () |
| trống rỗng | writeTo (đầu ra com.google.protobuf.CodedOutputStream) |
Phương pháp kế thừa
Hằng số
int tĩnh cuối cùng CRC32C_FIELD_NUMBER
Giá trị không đổi: 6
int tĩnh cuối cùng DTYPE_FIELD_NUMBER
Giá trị không đổi: 1
int tĩnh công khai OFFSET_FIELD_NUMBER
Giá trị không đổi: 4
int tĩnh công khai SHAPE_FIELD_NUMBER
Giá trị không đổi: 2
int tĩnh cuối cùng SHARD_ID_FIELD_NUMBER
Giá trị không đổi: 3
int tĩnh công khai SIZE_FIELD_NUMBER
Giá trị không đổi: 5
int tĩnh công khai SLICES_FIELD_NUMBER
Giá trị không đổi: 7
Phương pháp công khai
boolean công khai bằng (Object obj)
int công khai getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6; công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
int công khai getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1; getOffset dài công khai ()
int64 offset = 4;
công cộng getParserForType ()
int công khai getSerializedSize ()
int công khai getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3; getSize công khai dài ()
int64 size = 5;
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; int công khai 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 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; 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 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; trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean công khai hasShape ()
.tensorflow.TensorShapeProto shape = 2;
mã băm int công khai ()
boolean cuối cùng công khai được khởi tạo ()
public static BundleEntryProto parsingDelimitedFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
public static BundleEntryProto parsFrom (dữ liệu ByteBuffer)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
public static BundleEntryProto parsFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
public static BundleEntryProto parsFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
public static BundleEntryProto parsFrom (đầu vào com.google.protobuf.CodedInputStream)
Ném
| IOException |
|---|
public static BundleEntryProto parsFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
public static BundleEntryProto parsFrom (dữ liệu com.google.protobuf.ByteString)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
public static BundleEntryProto parsFrom (Đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
public static BundleEntryProto parsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| Giao thức đệm ngoại lệ không hợp lệ |
|---|
công cộng tĩnh trình phân tích cú pháp ()
public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)
Ném
| IOException |
|---|