code: def define_graph(self):
      inputs, labels = self.input(name="Reader")
  
      images = self.decode(inputs)
      if self.device == "gpu":
          images = images.gpu()
      images = self.flip(images)
      return images
  
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 2 for calling the FlipPipeline obj's underlying member method code with example usage: obj.define_graph() and returns: images