MCPcopy 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()
17def rnd(context=None):
18 for i in range(context.n):
19 yield random.random()
20
21@sink_def()
22def printer(inp):

Callers

nothing calls this directly

Calls 1

rangeFunction · 0.85

Tested by

no test coverage detected