0
0
mirror of https://github.com/opencv/opencv.git synced 2026-01-18 17:21:42 +01:00

Initial commit

This commit is contained in:
harunresit
2025-11-16 21:20:33 +01:00
parent 1abc90c178
commit 7a0b9f35b5

View File

@@ -598,7 +598,7 @@ struct TorchImporter
readTorchTable(scalarParams, tensorParams);
CV_Assert(tensorParams.count("weight"));
Mat weightBlob = tensorParams["weight"].second;
const Mat& weightBlob = tensorParams["weight"].second;
layerParams.blobs.push_back(weightBlob);
bool bias = tensorParams.count("bias") != 0;