MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / dumps_bytes

Method dumps_bytes

tensorpack/utils/serialize.py:61–66  ·  view source on GitHub ↗

Returns: bytes

(obj)

Source from the content-addressed store, hash-verified

59
60 @staticmethod
61 def dumps_bytes(obj):
62 """
63 Returns:
64 bytes
65 """
66 return PyarrowSerializer.dumps(obj).to_pybytes()
67
68 @staticmethod
69 def loads(buf):

Callers

nothing calls this directly

Calls 1

dumpsMethod · 0.45

Tested by

no test coverage detected