code: def __init__(
      self,
      device,
      batch_size,
      iterator,
      layout,
      center_x=None,
      center_y=None,
      center_z=None,
      num_threads=1,
      device_id=0,
  ):
      super(CoordFlipPipeline, self).__init__(
          batch_size, num_threads, device_id
      )
      self.device = device
      self.iterator = iterator
      self.coord_flip = ops.CoordFlip(
          device=self.device,
          layout=layout,
          center_x=center_x,
          center_y=center_y,
          center_z=center_z,
      )
      self.flip_x = ops.random.CoinFlip(probability=0.5)
      self.flip_y = ops.random.CoinFlip(probability=0.5)
      self.flip_z = (
          ops.random.CoinFlip(probability=0.5)
          if len(layout) == 3
          else None
      )
  
file_path: DALI/dali/test/python/operator_1/test_coord_flip.py
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.fn
  import numpy
  from test_utils import RandomDataIterator
label_desc: Use image node_id 1 to create a new CoordFlipPipeline object from inherited base classes: Pipeline with example: obj = CoordFlipPipeline(device, batch_size, iterator, layout, center_x, center_y, center_z, num_threads, device_id)