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

tfds.core.as_path

Create a generic pathlib.Path-like abstraction.

Depending on the input (e.g. gs://, github://, ResourcePath,...), the system (Windows, Linux,...), the function will create the right pathlib-like abstraction.

path Pathlike object.

path The pathlib.Path-like abstraction.