posterize¶ torchvision.transforms.v2.functional.posterize(inpt: Tensor, bits: int) → Tensor[source]¶ 请参阅 RandomPosterize 以了解详情。