1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Fix conv/deconv/fc layers FLOPS computation

This commit is contained in:
Dmitry Kurtaev
2017-12-06 21:58:36 +03:00
parent ef04ca9e0f
commit ef0650179b
3 changed files with 4 additions and 3 deletions
@@ -397,7 +397,7 @@ public:
int innerSize = blobs[0].size[1];
for(int i = 0; i < outputs.size(); i++)
{
flops += 3*innerSize*total(outputs[i]);
flops += CV_BIG_INT(3)*innerSize*total(outputs[i]);
}
return flops;