code: def dumps(obj, protocol=None, **kwargs):
      f = io.BytesIO()
      reducers.DaliCallbackPickler(f, protocol, **kwargs).dump(obj)
      return f.getvalue()
  
file_path: DALI/dali/python/nvidia/dali/pickling.py
imports: import inspect
  import pickle
  import io
  from nvidia.dali import reducers
label_desc: Use image node_id 1 for calling the _DaliPickle obj's underlying member method code with example usage: obj.dumps(obj, protocol) and returns: f