W3cubDocs

/TensorFlow Python

Module: tf.resource_loader

Defined in tensorflow/tools/api/generator/api/resource_loader/__init__.py.

Imports for Python API.

This file is MACHINE GENERATED! Do not edit. Generated by: tensorflow/tools/api/generator/create_python_api.py script.

Functions

get_data_files_path(...): Get a direct path to the data files colocated with the script.

get_path_to_datafile(...): Get the path to the specified file in the data dependencies.

get_root_dir_with_all_resources(...): Get a root directory containing all the data attributes in the build rule.

load_resource(...): Load the resource at given path, where path is relative to tensorflow/.

readahead_file_path(...): Readahead files not implemented; simply returns given path.

Other Members

__cached__

__loader__

__spec__

© 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