code: def __init__(
      self,
      function,
      batch_size,
      layout,
      iterator,
      num_threads=1,
      device_id=0,
  ):
      super(MultichannelSynthPythonOpPipeline, self).__init__(
          batch_size,
          num_threads,
          device_id,
          exec_async=False,
          exec_pipelined=False,
      )
      self.layout = layout
      self.iterator = iterator
      self.inputs = ops.ExternalSource()
      self.oper = ops.PythonFunction(
          function=function, output_layouts=layout
      )
  
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.types
  import numpy
  import os
  from test_utils import compare_pipelines
  from test_utils import RandomDataIterator
  import cv2
  import glob
label_desc: Use image node_id 1 to create a new MultichannelSynthPythonOpPipeline object from inherited base classes: Pipeline with example: obj = MultichannelSynthPythonOpPipeline(function, batch_size, layout, iterator, num_threads, device_id)