仿射变换¶
- torchvision.transforms.v2.functional.affine(inpt: Tensor, angle: Union[int, float], translate: List[float], scale: float, shear: List[float], interpolation: Union[InterpolationMode, int] = InterpolationMode.NEAREST, fill: Optional[List[float]] = None, center: Optional[List[float]] = None) Tensor [源代码]¶
有关详细信息,请参阅
RandomAffine
。