posterize¶ torchvision.transforms.v2.functional.posterize(inpt: Tensor, bits: int) → Tensor[source]¶ 详细信息请参见 RandomPosterize。