MNN icon indicating copy to clipboard operation
MNN copied to clipboard

关于cv::Mat 三维(多张图片) 转换为对应维度的tensor的解决方法

Open jifeng35 opened this issue 1 year ago • 0 comments

如题 现在有多张图片,需要合并为一个tensor 是应该转换为一个三维Mat(包含多张图片),再使用相关接口(如果有的话)转换为对应维度的tensor 还是应该逐个图片(二维Mat)转换为对应Tensor,再使用相关接口合并低维度tensor为高维度tensor

jifeng35 avatar Sep 21 '22 02:09 jifeng35