Getting Started
core
composer
Methods Library
Model Library
Drops random rows and columns from a single image.
img (Tensor or PIL Image) – An input image as a torch.Tensor or PIL image
p_row (float) – Fraction of rows to drop (drop along H).
p_col (float) – Fraction of columns to drop (drop along W).
torch.Tensor or PIL Image – A smaller image with rows and columns dropped