class_docstr: 对图像进行resize处理,该方法应放在ToTensor前
class_docstr_tok: ["\u5bf9\u56fe\u50cf\u8fdb\u884cresize\u5904\u7406",",","\u8be5\u65b9\u6cd5\u5e94\u653e\u5728ToTensor\u524d"]
code: def __call__(self, image, target):
      image = self.resize(image)
      return image, target
  
imports: import random
  import torch
  import torchvision.transforms
  from torchvision.transforms import functional
  from src import dboxes300_coco, calc_iou_tensor, Encoder
label_desc: Use image node_id 2 for calling the Resize obj's underlying member method code with example usage: obj.__call__(image, target) and returns: image,  target