code: def __init__(
      self,
      device,
      batch_size,
      iterator,
      multiplier,
      reference,
      cutoff_db,
      num_threads=1,
      device_id=0,
      func=to_db_func,
  ):
      super(ToDecibelsPythonPipeline, self).__init__(
          batch_size,
          num_threads,
          device_id,
          seed=12345,
          exec_async=False,
          exec_pipelined=False,
      )
      self.device = "cpu"
      self.iterator = iterator
      self.inputs = ops.ExternalSource()
  
      function = partial(func, multiplier, reference, cutoff_db)
      self.dB = ops.PythonFunction(function=function)
  
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import numpy
  from functools import partial
  from test_utils import compare_pipelines
  from test_utils import RandomDataIterator
  from nose_utils import raises
label_desc: Use image node_id 1 to create a new ToDecibelsPythonPipeline object from inherited base classes: Pipeline with example: obj = ToDecibelsPythonPipeline(device, batch_size, iterator, multiplier, reference, cutoff_db, num_threads, device_id, func)