Solved by phan_phan in post #2 
              
              
                When kernel_size=1, dilation has no effect. 
See this page for a visualization of dilation : for only 1 pixel as input, should not change a thing.