code: def __init__(self, batch_size, layout, data_iterator, device):
      super(SynthFlipPipeline, self).__init__(
          batch_size, seed=1234, num_threads=4, device_id=0
      )
      self.device = device
      self.iterator = data_iterator
      self.layout = layout
      self.input = ops.ExternalSource()
      self.coin = ops.random.CoinFlip(seed=1234)
      self.flip = ops.Flip(device=device)
  
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 SynthFlipPipeline object from inherited base classes: Pipeline with example: obj = SynthFlipPipeline(batch_size, layout, data_iterator, device)