TensorFlow 2.0 RC is available Learn more

tf.test.get_temp_dir

View source on GitHub

Returns a temporary directory for use during tests.

Aliases:

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

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

Returns:

The temporary directory.