perspective¶
- torchvision.transforms.v2.functional.perspective(inpt: Tensor, startpoints: Optional[List[List[int]]], endpoints: Optional[List[List[int]]], interpolation: Union[InterpolationMode, int] = InterpolationMode.BILINEAR, fill: Optional[List[float]] = None, coefficients: Optional[List[float]] = None) Tensor [source]¶
See
RandomPerspective
for details.