Skip to content
Snippets Groups Projects

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

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading