code: def __init__(
      self,
      device,
      batch_size,
      num_threads=1,
      device_id=0,
      num_gpus=1,
      is_vertical=0,
      is_horizontal=1,
  ):
      super(FlipPipeline, self).__init__(
          batch_size, num_threads, device_id
      )
      self.device = device
      self.input = ops.readers.Caffe(
          path=caffe_db_folder, shard_id=device_id, num_shards=num_gpus
      )
      self.decode = ops.decoders.Image(
          device="cpu", output_type=types.RGB
      )
      self.flip = ops.Flip(
          device=self.device,
          vertical=is_vertical,
          horizontal=is_horizontal,
      )
  
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
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 1 to create a new FlipPipeline object from inherited base classes: Pipeline with example: obj = FlipPipeline(device, batch_size, num_threads, device_id, num_gpus, is_vertical, is_horizontal)