Google I/O is a wrap! Catch up on TensorFlow sessions View sessions


Gets the path to the specified file in the data dependencies.

The path is relative to the file calling the function.

It's a simple replacement of "tensorflow.python.platform.resource_loader.get_path_to_datafile".

path a string resource path relative to the calling file.

The path to the specified file present in the data attribute of py_test or py_binary.