posterize¶ torchvision.transforms.v2.functional.posterize(inpt: Tensor, bits: int) → Tensor[原始碼]¶ 參見 RandomPosterize 的詳細資訊。