Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ rnd
Function
rnd
flow-python/examples/basis_function/map_reduce/op.py:17–19 ·
view source on GitHub ↗
(context=None)
Source
from the content-addressed store, hash-verified
15
16
@source_def()
17
def
rnd(context=None):
18
for
i in range(context.n):
19
yield
random.random()
20
21
@sink_def()
22
def
printer(inp):
Callers
nothing calls this directly
Calls
1
range
Function · 0.85
Tested by
no test coverage detected