code: def __init__(self, batch_size, data, use_copy_kernel=False):
      super(ExternalSourcePipe, self).__init__(batch_size, 1, 0)
      self.output = ops.ExternalSource(device="gpu")
      self.data = data
      self.use_copy_kernel = use_copy_kernel
  
imports: from nvidia.dali.backend_impl import TensorGPU, TensorListGPU
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.tensors
  import nvidia.dali.types
  import numpy
  from nose_utils import assert_raises, raises
  import cupy
  from test_utils import py_buffer_from_address
label_desc: Use image node_id 1 to create a new ExternalSourcePipe object from inherited base classes: Pipeline with example: obj = ExternalSourcePipe(batch_size, data, use_copy_kernel)