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

Function send

flow-python/examples/basis_function/interactive/main.py:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 n = 160
28 def send():
29 inp = g.input('inp')
30 for i in range(n):
31 inp.send(Envelope.pack(i))
32 g.close()
33
34 def recv():
35 out = g.output('out')

Callers

nothing calls this directly

Calls 5

rangeFunction · 0.85
packMethod · 0.80
inputMethod · 0.45
sendMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected