כיתת גמר ציבורית BundleEntryProto
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
כיתות מקוננות
מַחלָקָה | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
קבועים
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 |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
int | getCrc32C () The CRC32C checksum of the tensor bytes. |
סטטי BundleEntryProto | |
BundleEntryProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
DataType | getDtype () The tensor dtype and shape. |
int | getDtypeValue () The tensor dtype and shape. |
אָרוֹך | 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). |
אָרוֹך | 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. |
רשימה< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (int index) Iff present, this entry represents a partitioned tensor. |
רשימה<? מרחיב את TensorSliceProtoOrBuilder > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
final com.google.protobuf.UnknownFieldSet | |
בוליאני | hasShape () .tensorflow.TensorShapeProto shape = 2; |
int | hashcode () |
בוליאנית סופית | |
סטטי BundleEntryProto.Builder | newBuilder () |
סטטי BundleEntryProto.Builder | newBuilder (אב-טיפוס BundleEntryProto ) |
BundleEntryProto.Builder | |
סטטי BundleEntryProto | parseDelimitedFrom (קלט InputStream) |
סטטי BundleEntryProto | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי BundleEntryProto | parseFrom (נתוני ByteBuffer) |
סטטי BundleEntryProto | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי BundleEntryProto | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי BundleEntryProto | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי BundleEntryProto | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי BundleEntryProto | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי BundleEntryProto | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי BundleEntryProto | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
BundleEntryProto.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
סופי סטטי ציבורי CRC32C_FIELD_NUMBER
ערך קבוע: 6
גמר סטטי ציבורי DTYPE_FIELD_NUMBER
ערך קבוע: 1
אינט סופי סטטי ציבורי OFFSET_FIELD_NUMBER
ערך קבוע: 4
גמר סטטי ציבורי SHAPE_FIELD_NUMBER
ערך קבוע: 2
אינט סופי סטטי ציבורי SHARD_ID_FIELD_NUMBER
ערך קבוע: 3
אינט סופי סטטי ציבורי SIZE_FIELD_NUMBER
ערך קבוע: 5
אינט סופי סטטי ציבורי SLICES_FIELD_NUMBER
ערך קבוע: 7
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
public long getOffset ()
int64 offset = 4;
פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
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;
רשימה ציבורית< 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;
הציבור 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;
רשימה ציבורית<? מרחיב את 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 ()
hasShape בוליאני ציבורי ()
.tensorflow.TensorShapeProto shape = 2;
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static BundleEntryProto parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static BundleEntryProto parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static BundleEntryProto parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
Public static BundleEntryProto parseFrom (קלט com.google.protobuf.CodedInputStream)
זורק
IOException |
---|
public static BundleEntryProto parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
BundleEntryProto parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
public static BundleEntryProto parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public static BundleEntryProto parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|