Permuted Filters Can't Perform Convolution Correctly

My network needs to permute or change view a lot on filters before put it to convolution.
I found that the convolution result by using permuted filters is not as expected and no errors would pop out. It could be fixed, once I called .contiguous()
I know in some cases after permutation or view changing, error " XXX is not contiguous" will show up,
so I think it would be better if you can raise an error or warning when filters are permuted/view changed, otherwise it’s easy to neglect it (NN may learn something anyway).