tf.compat.v1.test.get_temp_dir

View source on GitHub

Returns a temporary directory for use during tests.

tf.compat.v1.test.get_temp_dir()

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

Returns:

The temporary directory.