resized_crop¶
- torchvision.transforms.v2.functional.resized_crop(inpt: Tensor, top: int, left: int, height: int, width: int, size: List[int], interpolation: Union[InterpolationMode, int] = InterpolationMode.BILINEAR, antialias: Optional[Union[str, bool]] = 'warn') Tensor [source]¶
[BETA] See
RandomResizedCrop
for details.