code: def common_pipeline(images):
      images = dali.fn.random_resized_crop(
          images, device="gpu", size=(224, 224)
      )
      rng = dali.fn.random.coin_flip(probability=0.5)
      images = dali.fn.crop_mirror_normalize(
          images,
          mirror=rng,
          device="gpu",
          dtype=types.FLOAT,
          output_layout=types.NCHW,
          crop=(224, 224),
          mean=[125, 125, 125],
          std=[255, 255, 255],
      )
      return images
  
imports: import argparse
  import cv2
  import numpy
  import nvidia.dali
  import nvidia.dali.types
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: common_pipeline(images) and returns: images