class_docstr: Random transpose the image
docstr: Args:
      prob (float): probability of transpose.
docstr_tok: ["Args",":","prob","(","float",")",":","probability","of","transpose","."]
code: def __init__(self, prob=0.5):
      """
      Args:
          prob (float): probability of transpose.
      """
      super(Transpose, self).__init__()
      self.prob = prob
  
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 1 to create a new Transpose object from inherited base classes: ImageAugmentor with example: obj = Transpose(prob)