code: def create_from_reducer(
      cls, reducer, dumps_kwargs=None, loads_kwargs=None
  ):
      return cls(
          reducer.dumps, reducer.loads, dumps_kwargs, loads_kwargs
      )
  
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 2 for calling the _CustomPickler obj's underlying member method code with example usage: obj.create_from_reducer(cls, reducer, dumps_kwargs, loads_kwargs) and returns: cls