[][src]Crate tfrecord

The crate provides the functionality to serialize and deserialize TFRecord data format from TensorFlow.

The crate provides several cargo features that you can conditionally compile modules.

  • serde: Enable interoperability with serde to serialize and deserialize example types.
  • async_: Enable async/awat API.
  • full: Enable all features above.

Re-exports

pub use error::Error;
pub use markers::GenericRecord;
pub use protos::Example as RawExample;
pub use reader::BytesReader;
pub use reader::ExampleReader;
pub use reader::RawExampleReader;
pub use record::Example;
pub use record::Feature;
pub use writer::BytesWriter;
pub use writer::ExampleWriter;
pub use writer::RawExampleWriter;
pub use writer::RecordWriter;
pub use writer::RecordWriterInit;

Modules

error

Error types and error handling utilities.

io

Low level synchronous and asynchronous I/O functions.

markers

Marker traits and impls.

protos

ProtocolBuffer types compiled from TensorFlow.

reader

Reading TFRecord data format.

record

High level example and feature types.

writer

Writing TFRecord data format.

Structs

RecordReader

The generic reader type.

RecordReaderInit

The reader initializer.

RecordStreamInit

The stream initializer.