class_docstr: Resize the image to a target size.
docstr: Args:
      h, w (int): original image size
      new_h, new_w (int): new image size
      interp: PIL interpolation methods, defaults to bilinear.
code: def __init__(self, h, w, new_h, new_w, interp=None):
      """
      Args:
          h, w (int): original image size
          new_h, new_w (int): new image size
          interp: PIL interpolation methods, defaults to bilinear.
      """
      # TODO decide on PIL vs opencv
      super().__init__()
      if interp is None:
          interp = Image.BILINEAR
      self._set_attributes(locals())
  
imports: import numpy
  import torch
  import torch.nn.functional
  from fvcore.transforms.transform import CropTransform, HFlipTransform, NoOpTransform, Transform, TransformList
  from PIL import Image
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)