Module tfrecord::reader [−][src]
Reading TFRecord data format.
The module provides both blocking RecordReaderInit and asynchronous RecordStreamInit reader initializers to build reader and stream types.
The RecordReader type, constructed by RecordReaderInit, implements the Iterator such that you can work with loops.
The RecordStreamInit initializer constructs streams from types with AsyncRead trait. The streams can integrated with [futures::stream] API.
Structs
RecordReader | The generic reader type. |
RecordReaderInit | The reader initializer. |
RecordStreamInit | The stream initializer. |
Type Definitions
BytesReader | Alias to RecordReader which output record type is Vec<u8>. |
EventReader | Alias to RecordReader which output record type is Event. |
ExampleReader | Alias to RecordReader which output record type is Example. |
RawExampleReader | Alias to RecordReader which output record type is RawExample. |