MCPcopy 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()
6def 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

rangeFunction · 0.85

Tested by

no test coverage detected