공개 최종 클래스 BundleEntryProto
Describes the metadata related to a checkpointed tensor.
tensorflow.BundleEntryProto
중첩 클래스
수업 | BundleEntryProto.Builder | Describes the metadata related to a checkpointed tensor. |
상수
정수 | CRC32C_FIELD_NUMBER | |
정수 | DTYPE_FIELD_NUMBER | |
정수 | OFFSET_FIELD_NUMBER | |
정수 | SHAPE_FIELD_NUMBER | |
정수 | SHARD_ID_FIELD_NUMBER | |
정수 | SIZE_FIELD_NUMBER | |
정수 | SLICES_FIELD_NUMBER |
공개 방법
부울 | 같음 (객체 객체) |
정수 | getCrc32C () The CRC32C checksum of the tensor bytes. |
정적 BundleEntryProto | |
BundleEntryProto | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
데이터 유형 | getD유형 () The tensor dtype and shape. |
정수 | getDtype값 () The tensor dtype and shape. |
긴 | getOffset () int64 offset = 4; |
정수 | |
TensorShapeProto | getShape () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
정수 | getShardId () The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size). |
긴 | getSize () int64 size = 5; |
TensorSliceProto | getSlices (정수 인덱스) Iff present, this entry represents a partitioned tensor. |
정수 | getSlicesCount () Iff present, this entry represents a partitioned tensor. |
목록< TensorSliceProto > | getSlicesList () Iff present, this entry represents a partitioned tensor. |
TensorSliceProtoOrBuilder | getSlicesOrBuilder (정수 인덱스) Iff present, this entry represents a partitioned tensor. |
목록<? TensorSliceProtoOrBuilder 확장 > | getSlicesOrBuilderList () Iff present, this entry represents a partitioned tensor. |
최종 com.google.protobuf.UnknownFieldSet | |
부울 | 해쉬셰이프 () .tensorflow.TensorShapeProto shape = 2; |
정수 | 해시코드 () |
최종 부울 | 초기화됨 () |
정적 BundleEntryProto.Builder | 새로운 빌더 () |
정적 BundleEntryProto.Builder | newBuilder ( BundleEntryProto 프로토타입) |
BundleEntryProto.Builder | |
정적 BundleEntryProto | parsDelimitedFrom (InputStream 입력) |
정적 BundleEntryProto | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 BundleEntryProto | parsFrom (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 확장Registry) |
정적 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 출력) |
상속된 메서드
상수
공개 정적 최종 int CRC32C_FIELD_NUMBER
상수값: 6
공개 정적 최종 int DTYPE_FIELD_NUMBER
상수값: 1
공개 정적 최종 int OFFSET_FIELD_NUMBER
상수값: 4
공개 정적 최종 int SHAPE_FIELD_NUMBER
상수값: 2
공개 정적 최종 int SHARD_ID_FIELD_NUMBER
상수값: 3
공개 정적 최종 정수 SIZE_FIELD_NUMBER
상수값: 5
공개 정적 최종 int SLICES_FIELD_NUMBER
상수값: 7
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 int getCrc32C ()
The CRC32C checksum of the tensor bytes.
fixed32 crc32c = 6;
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 int getDtypeValue ()
The tensor dtype and shape.
.tensorflow.DataType dtype = 1;
공개 긴 getOffset ()
int64 offset = 4;
공공의 getParserForType ()
공개 int getSerializedSize ()
공개 int getShardId ()
The binary content of the tensor lies in: File "shard_id": bytes [offset, offset + size).
int32 shard_id = 3;
공개 긴 getSize ()
int64 size = 5;
공개 TensorSliceProto getSlices (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 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 인덱스)
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;
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 부울 hasShape ()
.tensorflow.TensorShapeProto shape = 2;
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 BundleEntryProtoparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 BundleEntryProto parseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 BundleEntryProto parsFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 BundleEntryProto 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 BundleEntryProto parsFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 BundleEntryProto 구문 분석기 (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|