透视变换¶
- 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]¶
有关详细信息,请参阅
RandomPerspective
。