class_docstr: Resize to some int muitple, d.g. 32.
class_docstr_tok: ["Resize","to","some","int","muitple",",","d.g",".","32","."]
code: def __call__(self, data: dict) -> dict:
      data["trans_info"].append(("resize", data["img"].shape[0:2]))
  
      h, w = data["img"].shape[0:2]
      rw = w - w % 32
      rh = h - h % 32
      data["img"] = functional.resize(data["img"], (rw, rh))
      for key in data.get("gt_fields", []):
          data[key] = functional.resize(data[key], (rw, rh))
  
      return data
  
imports: import random
  import base64
  from typing import Callable, Union, List, Tuple
  import cv2
  import numpy
  import paddle
  import paddle.nn.functional
  from paddleseg.transforms import functional
  from PIL import Image
label_desc: Use image node_id 2 for calling the ResizeToIntMult obj's underlying member method code with example usage: obj.__call__(data) and returns: data