docstr: Returns:
      bytes
docstr_tok: ["Returns",":","bytes"]
code: def dumps(obj):
      """
      Returns:
          bytes
      """
      return pickle.dumps(obj, protocol=-1)
  
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 1 for calling the PickleSerializer obj's underlying member method code with example usage: obj.dumps(obj) and returns: pickle