공개 최종 클래스 SnapshotMetadataRecord
This stores the metadata information present in each snapshot record.
tensorflow.data.experimental.SnapshotMetadataRecord 중첩 클래스
| 수업 | SnapshotMetadataRecord.Builder | This stores the metadata information present in each snapshot record. | |
상수
| 정수 | CREATION_TIMESTAMP_FIELD_NUMBER | |
| 정수 | DTYPE_FIELD_NUMBER | |
| 정수 | FINALIZED_FIELD_NUMBER | |
| 정수 | GRAPH_HASH_FIELD_NUMBER | |
| 정수 | NUM_ELEMENTS_FIELD_NUMBER | |
| 정수 | RUN_ID_FIELD_NUMBER | |
| 정수 | VERSION_FIELD_NUMBER |
공개 방법
| 부울 | 같음 (객체 객체) |
| 긴 | getCreationTimestamp () Time when we started creating this snapshot. |
| 정적 SnapshotMetadataRecord | |
| 스냅샷메타데이터 레코드 | |
| 최종 정적 com.google.protobuf.Descriptors.Descriptor | |
| 데이터 유형 | getDtype (정수 인덱스) A list of tensor dtype corresponding to each element of the snapshot. |
| 정수 | getDtypeCount () A list of tensor dtype corresponding to each element of the snapshot. |
| 목록< 데이터 유형 > | getDtypeList () A list of tensor dtype corresponding to each element of the snapshot. |
| 정수 | getDtypeValue (정수 인덱스) A list of tensor dtype corresponding to each element of the snapshot. |
| 목록<정수> | getDtypeValueList () A list of tensor dtype corresponding to each element of the snapshot. |
| 부울 | getFinalized () bool finalized = 1000; |
| 끈 | getGraphHash () Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
| com.google.protobuf.ByteString | getGraphHashBytes () Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
| 긴 | getNumElements () The number of elements in the snapshot. |
| 끈 | getRunId () Run ID that this snapshot corresponds to. |
| com.google.protobuf.ByteString | getRunIdBytes () Run ID that this snapshot corresponds to. |
| 정수 | |
| 최종 com.google.protobuf.UnknownFieldSet | |
| 긴 | 버전 획득 () Version of the snapshot data file format. |
| 정수 | 해시코드 () |
| 최종 부울 | 초기화됨 () |
| 정적 SnapshotMetadataRecord.Builder | 새로운 빌더 () |
| 정적 SnapshotMetadataRecord.Builder | newBuilder ( SnapshotMetadataRecord 프로토타입) |
| SnapshotMetadataRecord.Builder | |
| 정적 SnapshotMetadataRecord | parsDelimitedFrom (InputStream 입력) |
| 정적 SnapshotMetadataRecord | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 정적 SnapshotMetadataRecord | parsFrom (ByteBuffer 데이터) |
| 정적 SnapshotMetadataRecord | ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 정적 SnapshotMetadataRecord | ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 정적 SnapshotMetadataRecord | ParseFrom (com.google.protobuf.CodedInputStream 입력) |
| 정적 SnapshotMetadataRecord | parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry) |
| 정적 SnapshotMetadataRecord | ParseFrom (com.google.protobuf.ByteString 데이터) |
| 정적 SnapshotMetadataRecord | ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 정적 SnapshotMetadataRecord | ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| 공전 | 파서 () |
| SnapshotMetadataRecord.Builder | toBuilder () |
| 무효의 | writeTo (com.google.protobuf.CodedOutputStream 출력) |
상속된 메서드
상수
공개 정적 최종 int CREATION_TIMESTAMP_FIELD_NUMBER
상수값: 3
공개 정적 최종 int DTYPE_FIELD_NUMBER
상수값: 5
공개 정적 최종 int FINALIZED_FIELD_NUMBER
상수값: 1000
공개 정적 최종 int GRAPH_HASH_FIELD_NUMBER
상수값: 1
공개 정적 최종 정수 NUM_ELEMENTS_FIELD_NUMBER
상수값: 6
공개 정적 최종 int RUN_ID_FIELD_NUMBER
상수값: 2
공개 정적 최종 정수 VERSION_FIELD_NUMBER
상수값: 4
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 긴 getCreationTimestamp ()
Time when we started creating this snapshot.
int64 creation_timestamp = 3; 공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 데이터 유형 getDtype (int 인덱스)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5; 공개 int getDtypeCount ()
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5; 공개 목록< DataType > getDtypeList ()
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5; 공개 int getDtypeValue (int 인덱스)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5; 공개 목록<정수> getDtypeValueList ()
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5; 공개 부울 getFinalized ()
bool finalized = 1000;
공개 문자열 getGraphHash ()
Stores the fingerprint of the graph that describes the dataset that is snapshotted.
string graph_hash = 1; 공개 com.google.protobuf.ByteString getGraphHashBytes ()
Stores the fingerprint of the graph that describes the dataset that is snapshotted.
string graph_hash = 1; 공개 긴 getNumElements ()
The number of elements in the snapshot.
int64 num_elements = 6; 공공의 getParserForType ()
공개 문자열 getRunId ()
Run ID that this snapshot corresponds to.
string run_id = 2; 공개 com.google.protobuf.ByteString getRunIdBytes ()
Run ID that this snapshot corresponds to.
string run_id = 2; 공개 int getSerializedSize ()
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 긴 getVersion ()
Version of the snapshot data file format.
int64 version = 4; 공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 SnapshotMetadataRecordparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
| IO예외 |
|---|
공개 정적 SnapshotMetadataRecord ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| IO예외 |
|---|
공개 정적 SnapshotMetadataRecord 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| 잘못된프로토콜버퍼예외 |
|---|
공개 정적 SnapshotMetadataRecord 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| 잘못된프로토콜버퍼예외 |
|---|
공개 정적 SnapshotMetadataRecord ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| IO예외 |
|---|
공개 정적 SnapshotMetadataRecord ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
| 잘못된프로토콜버퍼예외 |
|---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
| IO예외 |
|---|