resize¶ torchvision.transforms.v2.functional.resize(inpt: Tensor, size: Optional[List[int]], interpolation: Union[InterpolationMode, int] = InterpolationMode.BILINEAR, max_size: Optional[int] = None, antialias: Optional[bool] = True) → Tensor[源代码]¶ 有关详细信息,请参阅 Resize。