MCPcopy Index your code
hub / github.com/apache/tvm / remove_tempdirs

Method remove_tempdirs

python/tvm/support/utils.py:77–85  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

75
76 @classmethod
77 def remove_tempdirs(cls):
78 temp_dirs = getattr(cls, "TEMPDIRS", None)
79 if temp_dirs is None:
80 return
81
82 for path in temp_dirs:
83 shutil.rmtree(path, ignore_errors=True)
84
85 cls.TEMPDIRS = None
86
87 @classmethod
88 @contextlib.contextmanager

Callers 1

test_tempdirFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_tempdirFunction · 0.64