class_docstr: Flip the image.
class_docstr_tok: ["Flip","the","image","."]
docstr: Args:
      h, w (int):
      horiz (bool): whether to flip horizontally or vertically.
docstr_tok: ["Args",":","h",",","w","(","int",")",":","horiz","(","bool",")",":","whether","to","flip","horizontally","or","vertically","."]
code: def __init__(self, h, w, horiz=True):
      """
      Args:
          h, w (int):
          horiz (bool): whether to flip horizontally or vertically.
      """
      self._init(locals())
  
imports: import numpy
  import cv2
  from ...utils.argtools import log_once
  from .base import ImageAugmentor, _default_repr
label_desc: Use image node_id 1 to create a new FlipTransform object from inherited base classes: Transform with example: obj = FlipTransform(h, w, horiz)