code: def __init__(self, im_h: int, im_w: int):
      self.height = self.feature_size(im_h)
      self.width = self.feature_size(im_w)
  
file_path: deep-learning-for-image-processing/pytorch_classification/grad_cam/main_swin.py
imports: import os
  import math
  import numpy
  import torch
  from PIL import Image
  import matplotlib.pyplot
  from torchvision import transforms
  from utils import GradCAM, show_cam_on_image, center_crop_img
  from swin_model import swin_base_patch4_window7_224
label_desc: Use image node_id 1 to create a new ResizeTransform object  with example: obj = ResizeTransform(im_h, im_w)