erase¶ torchvision.transforms.v2.functional.erase(inpt: Tensor, i: int, j: int, h: int, w: int, v: Tensor, inplace: bool = False) → Tensor[源代码]¶ 有关详细信息,请参阅 RandomErase。