Have a question? Connect with the community at the TensorFlow Forum Visit Forum

tfds.folder_dataset.write_metadata

Add metadata required to load with TFDS.

See documentation for usage: https://www.tensorflow.org/datasets/external_tfrecord

data_dir Dataset path on which save the metadata
features tfds.features.FeaturesDict matching the proto specs.
split_infos Can be either: a path to the pre-computed split info values ( the out_dir kwarg of tfds.folder_dataset.compute_split_info) or a list of tfds.core.SplitInfo (returned value of tfds.folder_dataset.compute_split_info)
version Optional dataset version (default to 1.0.0)
check_data If True, perform additional check to validate the data in data_dir is valid
**ds_info_kwargs Additional metadata forwarded to tfds.core.DatasetInfo ( description, homepage,...). Will appear in the doc.