How to implement Image Pooling in pytorch

Atrous convolution is the same as dilated convolutions.

Look here, you need to set different values for the dilation.