W3cubDocs

/TensorFlow Python

tf.resource_loader.get_data_files_path

tf.resource_loader.get_data_files_path()

Defined in tensorflow/python/platform/resource_loader.py.

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

Returns:

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

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/resource_loader/get_data_files_path