code: def __init__(self, dumps, loads, dumps_kwargs, loads_kwargs):
      self._dumps = dumps
      self._loads = loads
      self.dumps_kwargs = dumps_kwargs or {}
      self.loads_kwargs = loads_kwargs or {}
  
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 3 to create a new _CustomPickler object  with example: obj = _CustomPickler(dumps, loads, dumps_kwargs, loads_kwargs)