<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/core/utils/resource_utils.py#L30-L53) |

Path to `tensorflow_datasets/` root dir.

    tfds.core.tfds_path(
        *relative_path
    ) -> https://www.tensorflow.org/datasets/api_docs/python/tfds/core/Path

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')

> [!NOTE]
> **Note:** Even if `/` is used, those examples are compatible with Windows, as pathlib will automatically normalize the paths.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `*relative_path` | Relative path, eventually to concatenate. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `path` | The root TFDS path. |

<br />