code: def __call__(self, image, target):
      size = random.randint(self.min_size, self.max_size)
      # 这里size传入的是int类型，所以是将图像的最小边长缩放到size大小
      image = F.resize(image, size)
      # 这里的interpolation注意下，在torchvision(0.9.0)以后才有InterpolationMode.NEAREST
      # 如果是之前的版本需要使用PIL.Image.NEAREST
      target = F.resize(
          target, size, interpolation=T.InterpolationMode.NEAREST
      )
      return image, target
  
imports: import numpy
  import random
  import torch
  from torchvision import transforms
  from torchvision.transforms import functional
label_desc: Use image node_id 2 for calling the RandomResize obj's underlying member method code with example usage: obj.__call__(image, target) and returns: image,  target