class_docstr: Place a regular grid of points on the input and randomly move the neighbourhood of these point around
  via affine transformations.
  
  This augmentation is deprecated. Please use Affine instead.
  
  Note: This class introduce interpolation artifacts to mask if it has values other than {0;1}
  
  Args:
      p (float): probability of applying the transform. Default: 0.5.
  
  Targets:
      image, mask
class_docstr_tok: ["Place","a","regular","grid","of","points","on","the","input","and","randomly","move","the","neighbourhood","of","these","point","around","via","affine","transformations",".","This","augmentation","is","deprecated",".","Please","use","Affine","instead",".","Note",":","This","class","introduce","interpolation","artifacts","to","mask","if","it","has","values","other","than","{","0",";","1","}","Args",":","p","(","float",")",":","probability","of","applying","the","transform",".","Default",":","0.5",".","Targets",":","image",",","mask"]
code: def __init__(
      self,
      scale=1.0,
      translate_percent=None,
      translate_px=None,
      rotate=0.0,
      shear=0.0,
      order=1,
      cval=0,
      mode="reflect",
      always_apply=False,
      p=0.5,
  ):
      super(IAAAffine, self).__init__(always_apply, p)
      self.scale = to_tuple(scale, 1.0)
      self.translate_percent = to_tuple(translate_percent, 0)
      self.translate_px = to_tuple(translate_px, 0)
      self.rotate = to_tuple(rotate)
      self.shear = to_tuple(shear)
      self.order = order
      self.cval = cval
      self.mode = mode
      warnings.warn(
          "This IAAAffine is deprecated. Please use Affine instead",
          FutureWarning,
      )
  
imports: import warnings
  from albumentations.core.bbox_utils import convert_bboxes_from_albumentations, convert_bboxes_to_albumentations
  from albumentations.core.keypoints_utils import convert_keypoints_from_albumentations, convert_keypoints_to_albumentations
  from ..augmentations import Perspective
  from ..core.transforms_interface import BasicTransform, DualTransform, ImageOnlyTransform, to_tuple
label_desc: Use image node_id 1 to create a new IAAAffine object from inherited base classes: DualIAATransform with example: obj = IAAAffine(scale, translate_percent, translate_px, rotate, shear, order, cval, mode, always_apply, p)