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

Method __init__

flow-python/examples/basis_function/profile/source.py:8–9  ·  view source on GitHub ↗
(self, name, args)

Source from the content-addressed store, hash-verified

6@register(outputs=['out'])
7class Source:
8 def __init__(self, name, args):
9 self.n = args['n']
10
11 def exec(self):
12 start = time.perf_counter()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected