class_docstr: Random flip the image either horizontally or vertically.
code: def get_transform(self, img):
      h, w = img.shape[:2]
      do = self._rand_range() < self.prob
      if not do:
          return NoOpTransform()
      else:
          return FlipTransform(h, w, self.horiz)
  
imports: import cv2
  from ...utils import logger
  from ...utils.argtools import shape2d
  from .base import ImageAugmentor
  from .transform import ResizeTransform, NoOpTransform, FlipTransform, TransposeTransform
label_desc: Use image node_id 2 for calling the Flip obj's underlying member method code with example usage: obj.get_transform(img) and returns: NoOpTransform, FlipTransform