旋转¶ torchvision.transforms.v2.functional.rotate(inpt: Tensor, angle: float, interpolation: Union[InterpolationMode, int] = InterpolationMode.NEAREST, expand: bool = False, center: Optional[List[float]] = None, fill: Optional[List[float]] = None) → Tensor[source]¶ 有关详细信息,请参阅 RandomRotation。