Missed TensorFlow World? Check out the recap. Learn more

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.

tf.compat.v1.resource_loader.get_data_files_path()

Returns:

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