How to covert torch::Tensor to cv::Mat

See my reply here: