Skip to content

Change tensorimpl opencv `future_std::span<cv::Mat>` to `cv::Mat`

Thibault Allenet requested to merge TensorImpl into dev

Why ? TensorImpl_opencv attribute future_std::span<cv::Mat> mData; is not relevant.

MR Content :


Implement the solution presented in issue #3 (closed).

  • Change the constructor of TensorImpl to take the dimensions of the tensor as argument instead of the number of elements. For tensorImpl_opencv :
  • Add mDims attribute in the class to use in Lazy_init (Instanciation of cv::Mat)
  • Override the resize function from TensorImpl.hpp to update mDims
Edited by Thibault Allenet

Merge request reports