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

Function scope

imperative/python/megengine/utils/profiler.py:256–259  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

254
255@contextmanager
256def scope(name):
257 push_scope(name)
258 yield
259 pop_scope(name)
260
261
262def profile(*args, **kwargs):

Callers 1

inferFunction · 0.90

Calls

no outgoing calls

Tested by 1

inferFunction · 0.72