MCPcopy Index your code
hub / github.com/tensorflow/datasets / get_default_data_dir

Function get_default_data_dir

tensorflow_datasets/core/constants.py:33–38  ·  view source on GitHub ↗

Returns the TFDS default data directory.

()

Source from the content-addressed store, hash-verified

31
32
33def get_default_data_dir() -> str:
34 """Returns the TFDS default data directory."""
35 return os.environ.get(
36 'TFDS_DATA_DIR',
37 os.path.join(os.path.expanduser('~'), 'tensorflow_datasets'),
38 )
39
40
41DATA_DIR: Final[str] = get_default_data_dir()

Callers 1

constants.pyFile · 0.85

Calls 2

getMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected