public final class SnapshotMetadataRecord
This stores the metadata information present in each snapshot record.
tensorflow.data.experimental.SnapshotMetadataRecord tipo tensorflow.data.experimental.SnapshotMetadataRecord Classes aninhadas
| aula | SnapshotMetadataRecord.Builder | This stores the metadata information present in each snapshot record. | |
Constantes
| int | CREATION_TIMESTAMP_FIELD_NUMBER | |
| int | DTYPE_FIELD_NUMBER | |
| int | FINALIZED_FIELD_NUMBER | |
| int | GRAPH_HASH_FIELD_NUMBER | |
| int | NUM_ELEMENTS_FIELD_NUMBER | |
| int | RUN_ID_FIELD_NUMBER | |
| int | VERSION_FIELD_NUMBER |
Métodos Públicos
| boleano | igual a (objeto obj) |
| longo | getCreationTimestamp () Time when we started creating this snapshot. |
| static SnapshotMetadataRecord | |
| SnapshotMetadataRecord | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| Tipo de dados | getDtype (índice int) A list of tensor dtype corresponding to each element of the snapshot. |
| int | getDtypeCount () A list of tensor dtype corresponding to each element of the snapshot. |
| Lista < DataType > | getDtypeList () A list of tensor dtype corresponding to each element of the snapshot. |
| int | getDtypeValue (int index) A list of tensor dtype corresponding to each element of the snapshot. |
| List <Integer> | getDtypeValueList () A list of tensor dtype corresponding to each element of the snapshot. |
| boleano | getFinalized () bool finalized = 1000; |
| Fragmento | 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. |
| longo | getNumElements () The number of elements in the snapshot. |
| Fragmento | getRunId () Run ID that this snapshot corresponds to. |
| com.google.protobuf.ByteString | getRunIdBytes () Run ID that this snapshot corresponds to. |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| longo | getVersion () Version of the snapshot data file format. |
| int | hashCode () |
| final booleano | |
| static SnapshotMetadataRecord.Builder | newBuilder () |
| static SnapshotMetadataRecord.Builder | newBuilder (protótipo SnapshotMetadataRecord ) |
| SnapshotMetadataRecord.Builder | |
| static SnapshotMetadataRecord | parseDelimitedFrom (InputStream input) |
| static SnapshotMetadataRecord | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static SnapshotMetadataRecord | parseFrom (dados ByteBuffer) |
| static SnapshotMetadataRecord | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static SnapshotMetadataRecord | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static SnapshotMetadataRecord | parseFrom (com.google.protobuf.CodedInputStream input) |
| static SnapshotMetadataRecord | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static SnapshotMetadataRecord | parseFrom (com.google.protobuf.ByteString data) |
| static SnapshotMetadataRecord | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static SnapshotMetadataRecord | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analisador () |
| SnapshotMetadataRecord.Builder | toBuilder () |
| vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Valor Constante: 3
public static final int DTYPE_FIELD_NUMBER
Valor constante: 5
public static final int FINALIZED_FIELD_NUMBER
Valor constante: 1000
public static final int GRAPH_HASH_FIELD_NUMBER
Valor Constante: 1
público estático final int NUM_ELEMENTS_FIELD_NUMBER
Valor constante: 6
public static final int RUN_ID_FIELD_NUMBER
Valor constante: 2
public static final int VERSION_FIELD_NUMBER
Valor constante: 4
Métodos Públicos
public boolean equals (Object obj)
public long getCreationTimestamp ()
Time when we started creating this snapshot.
int64 creation_timestamp = 3;public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public DataType getDtype (int index)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;public int getDtypeCount ()
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;public List < DataType > getDtypeList ()
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;public int getDtypeValue (int index)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;public List <Integer> getDtypeValueList ()
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;public boolean getFinalized ()
bool finalized = 1000;
public String getGraphHash ()
Stores the fingerprint of the graph that describes the dataset that is snapshotted.
string graph_hash = 1;public com.google.protobuf.ByteString getGraphHashBytes ()
Stores the fingerprint of the graph that describes the dataset that is snapshotted.
string graph_hash = 1;public long getNumElements ()
The number of elements in the snapshot.
int64 num_elements = 6; público getParserForType ()
public String getRunId ()
Run ID that this snapshot corresponds to.
string run_id = 2;public com.google.protobuf.ByteString getRunIdBytes ()
Run ID that this snapshot corresponds to.
string run_id = 2;public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public long getVersion ()
Version of the snapshot data file format.
int64 version = 4;public int hashCode ()
public final boolean isInitialized ()
public static SnapshotMetadataRecord parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static SnapshotMetadataRecord parseFrom (dados ByteBuffer)
Lança
| InvalidProtocolBufferException |
|---|
public static SnapshotMetadataRecord parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static SnapshotMetadataRecord parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static SnapshotMetadataRecord parseFrom (com.google.protobuf.CodedInputStream input)
Lança
| IOException |
|---|
public static SnapshotMetadataRecord parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static SnapshotMetadataRecord parseFrom (com.google.protobuf.ByteString data)
Lança
| InvalidProtocolBufferException |
|---|
public static SnapshotMetadataRecord parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static SnapshotMetadataRecord parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
| IOException |
|---|