tf.compat.v1.resource_loader.get_data_files_path

View source on GitHub

Get a direct path to the data files colocated with the script.

The directory where files specified in data attribute of py_test and py_binary are stored.