TensorFlow 2.0 Beta is available Learn more

tf.test.get_temp_dir

Returns a temporary directory for use during tests.

Aliases:

  • tf.compat.v1.test.get_temp_dir
  • tf.test.get_temp_dir
tf.test.get_temp_dir()

Defined in python/platform/test.py.

There is no need to delete the directory after the test.

Returns:

The temporary directory.