ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tfds.core.tfds_path

Path to tensorflow_datasets/ root dir.

The following examples are equivalent:

path = tfds.core.tfds_path() / 'path/to/data.txt'
path = tfds.core.tfds_path('path/to/data.txt')
path = tfds.core.tfds_path('path', 'to', 'data.txt')

*relative_path Relative path, eventually to concatenate.

path The root TFDS path.