code: def __init__(self, batch_size, num_threads, device_id):
      super(CustomPipeline, self).__init__(
          batch_size, num_threads, device_id
      )
      self.inputs = ops.ExternalSource()
      self.custom_dummy = ops.CustomDummy(device="gpu")
  
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali
  import nvidia.dali.ops
  import nvidia.dali.plugin_manager
  import unittest
  import os
  import numpy
  import tempfile
label_desc: Use image node_id 1 to create a new CustomPipeline object from inherited base classes: Pipeline with example: obj = CustomPipeline(batch_size, num_threads, device_id)