MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / __init__

Method __init__

flow-python/examples/logical_test/source.py:16–17  ·  view source on GitHub ↗
(self, name, args)

Source from the content-addressed store, hash-verified

14@register(outputs=['out'])
15class Source:
16 def __init__(self, name, args):
17 self.n = args['n']
18
19 def exec(self):
20 for i in range(self.n):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected