mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -262,6 +262,9 @@ public:
|
||||
}
|
||||
|
||||
int ngroups = inpCn / blobs[0].size[1];
|
||||
if (ngroups == 0 || ngroups * blobs[0].size[1] != inpCn)
|
||||
CV_Error(Error::StsError, format("Number of input channels should "
|
||||
"be multiple of %d but got %d", blobs[0].size[1], inpCn));
|
||||
CV_Assert(ngroups > 0 && inpCn % ngroups == 0 && outCn % ngroups == 0);
|
||||
|
||||
int dims[] = {inputs[0][0], outCn, out.height, out.width};
|
||||
|
||||
Reference in New Issue
Block a user