Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
256
def
scope(name):
257
push_scope(name)
258
yield
259
pop_scope(name)
260
261
262
def
profile(*args, **kwargs):
Callers
1
infer
Function · 0.90
Calls
no outgoing calls
Tested by
1
infer
Function · 0.72