MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / __del__

Method __del__

imperative/python/megengine/utils/profiler.py:248–252  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

246 return func
247
248 def __del__(self):
249 if self._options.get("enable_cupti", 0):
250 if cupti_available():
251 disable_cupti()
252 self.dump()
253
254
255@contextmanager

Callers

nothing calls this directly

Calls 2

dumpMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected