1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 04:25:42 +08:00

fixed some compile warnings in dnn & protobuf; improved convolution layer performance when blas is not available by parallelizing gemmCPU() function in dnn

This commit is contained in:
Vadim Pisarevsky
2016-09-21 18:13:17 +03:00
parent b1346e5ab6
commit b59f3989f5
7 changed files with 85 additions and 25 deletions

View File

@@ -140,7 +140,10 @@ int main(int argc, char **argv)
//! [Set input blob]
//! [Make forward pass]
double t = (double)cv::getTickCount();
net.forward(); //compute output
t = (double)cv::getTickCount() - t;
printf("processing time: %.1fms\n", t*1000./getTickFrequency());
//! [Make forward pass]
//! [Gather output]