class_docstr: Randomly apply the augmentor with a probability.
  Otherwise do nothing
class_docstr_tok: ["Randomly","apply","the","augmentor","with","a","probability",".","Otherwise","do","nothing"]
docstr: Args:
      aug (ImageAugmentor): an augmentor.
      prob (float): the probability to apply the augmentor.
docstr_tok: ["Args",":","aug","(","ImageAugmentor",")",":","an","augmentor",".","prob","(","float",")",":","the","probability","to","apply","the","augmentor","."]
code: def __init__(self, aug, prob):
      """
      Args:
          aug (ImageAugmentor): an augmentor.
          prob (float): the probability to apply the augmentor.
      """
      self._init(locals())
      super(RandomApplyAug, self).__init__()
  
imports: from .base import ImageAugmentor
  from .transform import NoOpTransform, TransformList, TransformFactory
label_desc: Use image node_id 1 to create a new RandomApplyAug object from inherited base classes: ImageAugmentor with example: obj = RandomApplyAug(aug, prob)