tfio.experimental.serialization.save_dataset

Stay organized with collections Save and categorize content based on your preferences.

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.