code: def HorizontalFlip(batch_img):
      for i in range(len(batch_img)):
          if random.random() > 0.5:
              for j in range(len(batch_img[i])):
                  batch_img[i][j] = cv2.flip(batch_img[i][j], 1)
      return batch_img
  
imports: import random
  import cv2
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: HorizontalFlip(batch_img) and returns: batch_img