Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand


Abstract base class for DatasetInfo metadata container. allows the dataset to expose additional general information about the dataset which are not specific to a feature or individual example.

To implement the interface, overwrite save_metadata and load_metadata.

See tfds.core.MetadataDict for a simple implementation that acts as a dict that saves data to/from a JSON file.



View source

Restore the metadata.


View source

Save the metadata.