Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ unpack
Method
unpack
tensorpack/dataflow/parallel.py:43–45 ·
view source on GitHub ↗
(dp)
Source
from the content-addressed store, hash-verified
41
42
@staticmethod
43
def
unpack(dp):
44
if
isinstance(dp, bytes) and dp.startswith(_ExceptionWrapper.MAGIC):
45
return
pickle.loads(dp[len(_ExceptionWrapper.MAGIC):])
46
47
48
def
_repeat_iter(get_itr):
Callers
1
_recv
Method · 0.45
Calls
1
loads
Method · 0.45
Tested by
no test coverage detected