torch.dropout: fix non-contiguous layout input (#47552)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/47176
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47552
Reviewed By: ailzhang
Differential Revision: D24903435
Pulled By: ngimel
fbshipit-source-id: ef5398931dddf452f5f734b4aa40c11f4ee61664