set_tmp_dir#

ivy.set_tmp_dir(tmp_dr)[source]#

Set the directory for saving temporary files.

Parameters:

tmp_dr (str) – The new directory for saving temporary files

Examples

>>> x = ivy.get_tmp_dir()
>>> print(x)
/tmp
>>> ivy.set_tmp_dir("/my_tmp")
>>> y = ivy.get_tmp_dir()
>>> print(y)
/my_tmp
Return type:

None