code: def __init__(self, device):
      super().__init__(
          10, 3, device_id=0, exec_async=True, exec_pipelined=True
      )
      self.const1 = ops.Constant(device=device, fdata=(1.25, 2.5, 3))
      self.const2 = ops.Constant(
          device=device, idata=(1, 2, 3, 4), shape=(2, 1, 2)
      )
      self.const3 = ops.Constant(
          device=device, idata=(-1, 1, 2, 3, 4), dtype=types.UINT8
      )
      self.const4 = ops.Constant(
          device=device,
          fdata=(0.25, 1.25, 2.25, 3.25, 4.25),
          dtype=types.FLOAT16,
      )
      self.const5 = ops.Constant(
          device=device, fdata=5.5, shape=(100, 100)
      )
      self.const6 = ops.Constant(
          device=device, idata=-4, shape=(10, 20)
      )
      self.const7 = ops.Constant(
          device=device, idata=[0, 1, 0], dtype=types.BOOL
      )
  
imports: import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import os
  from nvidia.dali import Pipeline
  from test_utils import check_batch
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 1 to create a new ConstantPipeline object from inherited base classes: Pipeline with example: obj = ConstantPipeline(device)