solarize torchvision.transforms.v2.functional.solarize(inpt: Tensor, threshold: float) → Tensor[source] See for details.