TensorFlow 2.0 Beta is available Learn more

tf.resource_loader.get_data_files_path

View source on GitHub

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

Aliases:

  • tf.compat.v1.resource_loader.get_data_files_path
tf.resource_loader.get_data_files_path()

Returns:

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