torchvision.transforms.v2.functional.to_image torchvision.transforms.v2.functional.to_image(inpt: Union[Tensor, Image, ndarray]) → Image