tf.resource_loader.get_data_files_path

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
tf.resource_loader.get_data_files_path()

Defined in python/platform/resource_loader.py.

Returns:

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