make output result of ImageToTensor contiguous (#5756)
make output result of ImageToTensor contiguous (#5756)

In order to reduce the series of hidden dangers caused by discontinuous
menory
open-mmlab/mmdetection,open-mmlab/mmdetection