I wanted to create a filter for conv layer which has spacing in between the rows. The dilation parameter only allows same spacing between the consecutive rows of the filters.
I want to create a filter with varying spacing between the rows of the filter. For example, 3 spaces between the first and second row and 6 spaces between 2nd and 3rd row for a (3 x 3) filter. Is there a way this can be done in pytorch.
Thank you!