Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf_agents.utils.test_utils.test_src_dir_path

View source on GitHub

Returns an absolute test srcdir path given a relative path.

tf_agents.utils.test_utils.test_src_dir_path(
    relative_path
)

Args:

  • relative_path: a path relative to tf_agents root. e.g. "environments/config".

Returns:

An absolute path to the linked in runfiles.