tvm_tirx.support.utils.tempdir

Contents

tvm_tirx.support.utils.tempdir#

tvm_tirx.support.utils.tempdir(custom_path=None, keep_for_debug=None)#

Create temp dir which deletes the contents when exit.

Parameters:
  • custom_path (str, optional) – Manually specify the exact temp dir path

  • keep_for_debug (bool) – Keep temp directory for debugging purposes

Returns:

temp (TempDirectory) – The temp directory object