Ahh,
then those are two kinds of problems.
What you can do is loop over the first dimension and slice the tensor and then do std::mmcpy
So something like this
std::vector<cv::Mat> list_of_mat;
for (int i=0; i < tensor.size(0); i++) {
// tensor slicing
// std::memcpy to dummy
list_of_mat.pushback(dummy)
}