View source on GitHub |
Compute the split info on the given files.
tfds.folder_dataset.compute_split_info(
*,
out_dir: Optional[epath.PathLike] = None,
filename_template: tfds.core.ShardedFileTemplate
) -> List[tfds.core.SplitInfo
]
Compute the split info (num shards, num examples,...) metadata required
by tfds.folder_dataset.write_metadata
.
See documentation for usage: https://www.tensorflow.org/datasets/external_tfrecord
Returns | |
---|---|
split_infos
|
The list of tfds.core.SplitInfo .
|