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

Function is_tracing

imperative/python/megengine/jit/tracing.py:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66
67def is_tracing():
68 if active_trace is None:
69 return False
70 else:
71 return not skip_tracing
72
73
74@contextlib.contextmanager

Callers 6

_updatesMethod · 0.85
_updatesMethod · 0.85
_updatesMethod · 0.85
_updatesMethod · 0.85
_updatesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected