TensorFlow 2.0 Beta is available Learn more

tf.test.test_src_dir_path

Creates an absolute test srcdir path given a relative path.

Aliases:

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

Defined in python/platform/test.py.

Args:

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

Returns:

An absolute path to the linked in runfiles.