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.
The temporary directory.