temporian.to_tensorflow_record #
to_tensorflow_record(
evset: EventSet,
path: str,
timestamps: str = "timestamp",
format: TFRecordEventSetFormatChoices = TFRecordEventSetFormat.GROUPED_BY_INDEX,
)
Exports an EventSet into TF.Records of TF.Examples.
TF.Records of TF.Examples is one of the standard solution to store data for TensorFlow models. https://www.tensorflow.org/tutorials/load_data/tfrecord
The GZIP compression is used.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
evset |
EventSet
|
Event set to export. |
required |
path |
str
|
Path to output TF.Record. |
required |
timestamps |
str
|
Name of the output column containing timestamps. |
'timestamp'
|
format |
TFRecordEventSetFormatChoices
|
Format of the events inside the received record. At the moment only TFRecordEventSetFormat.GROUPED_BY_INDEX is supported. See TFRecordEventSetFormat for more. |
GROUPED_BY_INDEX
|