mirror of
https://github.com/opencv/opencv.git
synced 2026-01-18 17:21:42 +01:00
Initial commit
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user