Handle non-contiguous inputs with mkldnn convolution. (#16300)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/16018.
Backwards appears to be fine because the derivative is written in terms of mkldnn_convolution itself.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16300
Differential Revision: D13797776
Pulled By: gchanan
fbshipit-source-id: 68a990b8a3c186412a99d176931314806c9ed7bf