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

Function summation

flow-python/examples/basis_function/map_reduce/op.py:13–14  ·  view source on GitHub ↗
(inp)

Source from the content-addressed store, hash-verified

11
12@reduce_def()
13def summation(inp):
14 return sum(inp, 0)
15
16@source_def()
17def rnd(context=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected