SampleWriter#
- class SampleWriter[source]#
Bases:
AbstractContextManager
Writes DataSamples in a streaming fashion.
This is a context manager used for creating training and validation chips, and should be subclassed for each Backend.
- __init__()#
Methods
__init__
()write_sample
(sample)Writes a single sample.
- abstract write_sample(sample: DataSample)[source]#
Writes a single sample.
- Parameters:
sample (DataSample) –