Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ gen
Function
gen
flow-python/examples/basis_function/unused/op.py:6–9 ·
view source on GitHub ↗
(context=None)
Source
from the content-addressed store, hash-verified
4
5
@source_def()
6
def
gen(context=None):
7
for
i in range(context.n):
8
print(
'gen'
, i)
9
yield
{
'id'
: i }
Callers
nothing calls this directly
Calls
1
range
Function · 0.85
Tested by
no test coverage detected