1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #28701 from cuiweixie:fix/dnn-batchnorm-bias-blob-index

dnn: fix BatchNorm bias blob index in validation
This commit is contained in:
Alexander Smorkalov
2026-04-02 13:02:27 +03:00
committed by GitHub
+1 -1
View File
@@ -84,7 +84,7 @@ public:
if( hasBias )
{
CV_Assert((size_t)biasBlobIndex < blobs.size());
const Mat& b = blobs[weightsBlobIndex];
const Mat& b = blobs[biasBlobIndex];
CV_Assert(b.isContinuous() && b.type() == CV_32F && b.total() == (size_t)n);
}