tf.test.get_temp_dir

Returns a temporary directory for use during tests.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.test.get_temp_dir

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

The temporary directory.