adjust_gamma¶ torchvision.transforms.v2.functional.adjust_gamma(inpt: Tensor, gamma: float, gain: float = 1) → Tensor[源代码]¶ 调整伽马值。