invert torchvision.transforms.v2.functional.invert(inpt: Tensor) → Tensor[source] See RandomInvert().