1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #28029 from StefaniaHergane:hs/govbackend_update_ov_tensor_data_usage

Update usage of ov::Tensor::data in govbackend
This commit is contained in:
Alexander Smorkalov
2025-11-18 11:08:19 +03:00
committed by GitHub
+1 -1
View File
@@ -185,7 +185,7 @@ static void copyFromOV(const ov::Tensor &tensor, cv::Mat &mat) {
mat.ptr<int>(),
total);
} else {
std::copy_n(reinterpret_cast<uint8_t*>(tensor.data()),
std::copy_n(reinterpret_cast<const uint8_t*>(tensor.data()),
tensor.get_byte_size(),
mat.ptr<uint8_t>());
}