class_docstr: Resize the image.
class_docstr_tok: ["Resize","the","image","."]
docstr: Args:
      h, w (int):
      new_h, new_w (int):
      interp (int): cv2 interpolation method
docstr_tok: ["Args",":","h",",","w","(","int",")",":","new_h",",","new_w","(","int",")",":","interp","(","int",")",":","cv2","interpolation","method"]
code: def __init__(self, h, w, new_h, new_w, interp):
      """
      Args:
          h, w (int):
          new_h, new_w (int):
          interp (int): cv2 interpolation method
      """
      super(ResizeTransform, self).__init__()
      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 ResizeTransform object from inherited base classes: Transform with example: obj = ResizeTransform(h, w, new_h, new_w, interp)