Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ gen
Function
gen
imperative/python/test/unit/utils/test_profiler.py:111–114 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
109
cur_frame.f_trace =
lambda
*_: 1
110
111
def
gen():
112
for
i in range(10):
113
bts.append(_mge_backtrace())
114
yield
i
115
116
ge = gen()
117
next(ge)
Callers
9
test_backtrace
Function · 0.70
run
Method · 0.50
run_apply_on_var_node
Method · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
run_graph
Function · 0.50
TEST
Function · 0.50
Calls
1
append
Method · 0.45
Tested by
no test coverage detected