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