tfio.experimental.serialization.save_dataset

Saves a flat dataset as a tfrecord file, and builds a header file for reloading as dataset.

Must run in eager mode because it depends on dataset iteration and element_spec.