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

Function multiply

flow-python/examples/basis_function/map_reduce/op.py:8–9  ·  view source on GitHub ↗
(inp, context=None)

Source from the content-addressed store, hash-verified

6
7@map_def()
8def multiply(inp, context=None):
9 return inp * context.c
10
11
12@reduce_def()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected