classe final pública estática SnapshotMetadataRecord.Builder
This stores the metadata information present in each snapshot record.
tensorflow.data.experimental.SnapshotMetadataRecord
tipo tensorflow.data.experimental.SnapshotMetadataRecord
Métodos Públicos
SnapshotMetadataRecord.Builder | addAllDtype (valores Iterable <? extends DataType >) A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder | addAllDtypeValue (valores Iterable <Integer>) A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder | |
SnapshotMetadataRecord.Builder | addDtypeValue (valor int) A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
SnapshotMetadataRecord | build () |
SnapshotMetadataRecord | buildPartial () |
SnapshotMetadataRecord.Builder | limpar () |
SnapshotMetadataRecord.Builder | clearCreationTimestamp () Time when we started creating this snapshot. |
SnapshotMetadataRecord.Builder | clearDtype () A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
SnapshotMetadataRecord.Builder | clearFinalized () bool finalized = 1000; |
SnapshotMetadataRecord.Builder | clearGraphHash () Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
SnapshotMetadataRecord.Builder | clearNumElements () The number of elements in the snapshot. |
SnapshotMetadataRecord.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SnapshotMetadataRecord.Builder | clearRunId () Run ID that this snapshot corresponds to. |
SnapshotMetadataRecord.Builder | clearVersion () Version of the snapshot data file format. |
SnapshotMetadataRecord.Builder | clone () |
longo | getCreationTimestamp () Time when we started creating this snapshot. |
SnapshotMetadataRecord | |
final static com.google.protobuf.Descriptors.Descriptor | |
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. |
longo | getVersion () Version of the snapshot data file format. |
final booleano | |
SnapshotMetadataRecord.Builder | mergeFrom (com.google.protobuf.Message other) |
SnapshotMetadataRecord.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final SnapshotMetadataRecord.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
SnapshotMetadataRecord.Builder | setCreationTimestamp (valor longo) Time when we started creating this snapshot. |
SnapshotMetadataRecord.Builder | |
SnapshotMetadataRecord.Builder | setDtypeValue (índice interno , valor interno ) A list of tensor dtype corresponding to each element of the snapshot. |
SnapshotMetadataRecord.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
SnapshotMetadataRecord.Builder | setFinalized (valor booleano) bool finalized = 1000; |
SnapshotMetadataRecord.Builder | setGraphHash (valor String) Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
SnapshotMetadataRecord.Builder | setGraphHashBytes (com.google.protobuf.ByteString value) Stores the fingerprint of the graph that describes the dataset that is snapshotted. |
SnapshotMetadataRecord.Builder | setNumElements (valor longo) The number of elements in the snapshot. |
SnapshotMetadataRecord.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
SnapshotMetadataRecord.Builder | setRunId (valor String) Run ID that this snapshot corresponds to. |
SnapshotMetadataRecord.Builder | setRunIdBytes (com.google.protobuf.ByteString value) Run ID that this snapshot corresponds to. |
final SnapshotMetadataRecord.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
SnapshotMetadataRecord.Builder | setVersion (valor longo) Version of the snapshot data file format. |
Métodos herdados
Métodos Públicos
public SnapshotMetadataRecord.Builder addAllDtype (Iterable <? extends DataType > valores)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder addAllDtypeValue (valores Iterable <Integer>)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder addDtype (valor DataType )
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder addDtypeValue (valor int)
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public SnapshotMetadataRecord.Builder clearCreationTimestamp ()
Time when we started creating this snapshot.
int64 creation_timestamp = 3;
public SnapshotMetadataRecord.Builder clearDtype ()
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
public SnapshotMetadataRecord.Builder clearGraphHash ()
Stores the fingerprint of the graph that describes the dataset that is snapshotted.
string graph_hash = 1;
public SnapshotMetadataRecord.Builder clearNumElements ()
The number of elements in the snapshot.
int64 num_elements = 6;
public SnapshotMetadataRecord.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public SnapshotMetadataRecord.Builder clearRunId ()
Run ID that this snapshot corresponds to.
string run_id = 2;
public SnapshotMetadataRecord.Builder clearVersion ()
Version of the snapshot data file format.
int64 version = 4;
public long getCreationTimestamp ()
Time when we started creating this snapshot.
int64 creation_timestamp = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
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 long getVersion ()
Version of the snapshot data file format.
int64 version = 4;
public final boolean isInitialized ()
public SnapshotMetadataRecord.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public final SnapshotMetadataRecord.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SnapshotMetadataRecord.Builder setCreationTimestamp (valor longo)
Time when we started creating this snapshot.
int64 creation_timestamp = 3;
public SnapshotMetadataRecord.Builder setDtype (índice int, valor DataType )
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder setDtypeValue (índice interno , valor interno )
A list of tensor dtype corresponding to each element of the snapshot.
repeated .tensorflow.DataType dtype = 5;
public SnapshotMetadataRecord.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public SnapshotMetadataRecord.Builder setGraphHash (String value)
Stores the fingerprint of the graph that describes the dataset that is snapshotted.
string graph_hash = 1;
public SnapshotMetadataRecord.Builder setGraphHashBytes (com.google.protobuf.ByteString value)
Stores the fingerprint of the graph that describes the dataset that is snapshotted.
string graph_hash = 1;
public SnapshotMetadataRecord.Builder setNumElements (valor longo)
The number of elements in the snapshot.
int64 num_elements = 6;
public SnapshotMetadataRecord.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public SnapshotMetadataRecord.Builder setRunId (String value)
Run ID that this snapshot corresponds to.
string run_id = 2;
public SnapshotMetadataRecord.Builder setRunIdBytes (com.google.protobuf.ByteString value)
Run ID that this snapshot corresponds to.
string run_id = 2;
public final SnapshotMetadataRecord.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SnapshotMetadataRecord.Builder setVersion (valor longo)
Version of the snapshot data file format.
int64 version = 4;