I can’t really recall from where I read it, but yea was a little confused when doing my research on this. So like you mentioned, some of them were applying it as a data augmentation while some are applying it in their model when calling nn.Conv2D(…dilation=2). But I sort of understand the difference between these two already. Thank you for the explanation!
The case I am working with is a sen12ms dataset, which has 13 bands in a image. So I have to do my data augmenting on tensors instead of PIL image. As PIL can only work on a 3 channel image.