docstr: Returns:
      bytes
docstr_tok: ["Returns",":","bytes"]
code: def dumps_bytes(obj):
      """
      Returns:
          bytes
      """
      return PyarrowSerializer.dumps(obj).to_pybytes()
  
file_path: tensorpack/tensorpack/utils/serialize.py
imports: import os
  import pickle
  from multiprocessing.reduction import ForkingPickler
  import msgpack
  import msgpack_numpy
label_desc: Use image node_id 2 for calling the PyarrowSerializer obj's underlying member method code with example usage: obj.dumps_bytes(obj) and returns: PyarrowSerializer