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

tf.compat.v1.test.test_src_dir_path

View source on GitHub

Creates an absolute test srcdir path given a relative path.

tf.compat.v1.test.test_src_dir_path(
    relative_path
)

Args:

  • relative_path: a path relative to tensorflow root. e.g. "core/platform".

Returns:

An absolute path to the linked in runfiles.