Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ send
Method
send
python/oneflow/multiprocessing/queue.py:29–32 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
27
self.conn = conn
28
29
def
send(self, obj):
30
buf = io.BytesIO()
31
ForkingPickler(buf, pickle.HIGHEST_PROTOCOL).dump(obj)
32
self.send_bytes(buf.getvalue())
33
34
def
recv(self):
35
buf = self.recv_bytes()
Callers
7
cast
Function · 0.80
call
Function · 0.80
send
Function · 0.80
_test_send_recv
Method · 0.80
_test_send_recv_without_sending_meta
Method · 0.80
scatter
Function · 0.80
handle_call
Function · 0.80
Calls
no outgoing calls
Tested by
4
cast
Function · 0.64
call
Function · 0.64
_test_send_recv
Method · 0.64
_test_send_recv_without_sending_meta
Method · 0.64