code: def normalize_flip(images, bboxes, p=0.5):
      flip = dali.fn.random.coin_flip(probability=p)
      images = dali.fn.crop_mirror_normalize(
          images,
          mirror=flip,
          mean=[0.485 * 255, 0.456 * 255, 0.406 * 255],
          std=[0.229 * 255, 0.224 * 255, 0.225 * 255],
          output_layout=dali.types.NHWC,
      )
      bboxes = dali.fn.bb_flip(bboxes, horizontal=flip, ltrb=True)
      return images, bboxes
  
imports: import math
  import nvidia.dali
label_desc: Use image node_id 3 for calling a global function with example usage: normalize_flip(images, bboxes, p) and returns: images,  bboxes