Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
range
Function · 0.85
pack
Method · 0.80
input
Method · 0.45
send
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected