Загрузка
Erase the input Tensor Image with given value. This transform does not support PIL Image.
img (Tensor Image) – Tensor image of size (C, H, W) to be erased
i (int) – i in (i,j) i.e coordinates of the upper left corner.
j (int) – j in (i,j) i.e coordinates of the upper left corner.
h (int) – Height of the erased region.
w (int) – Width of the erased region.
v – Erasing value.
inplace (bool, optional) – For in-place operations. By default, is set False.
Erased image.
Tensor Image