Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
62cc8d86
Commit
62cc8d86
authored
Jan 17, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnn: build fixes
parent
2feb23cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
convolution_layer.cpp
modules/dnn/src/layers/convolution_layer.cpp
+6
-6
elementwise_layers.hpp
modules/dnn/src/layers/elementwise_layers.hpp
+1
-3
lrn_layer.cpp
modules/dnn/src/layers/lrn_layer.cpp
+1
-1
softmax_layer.cpp
modules/dnn/src/layers/softmax_layer.cpp
+1
-1
No files found.
modules/dnn/src/layers/convolution_layer.cpp
View file @
62cc8d86
...
...
@@ -60,12 +60,12 @@ BaseConvolutionLayerImpl::BaseConvolutionLayerImpl():
inpGroupCn
(
0
),
outGroupCn
(
0
),
ksize
(
0
),
bias
(
false
),
tryUseOpenCL
(
false
)
{
#if HAVE_CBLAS
if
(
getBlasThreads
()
!=
cv
::
getThreadNum
())
{
setBlasThreads
(
cv
::
getThreadNum
());
}
#endif
#ifdef HAVE_LAPACK
if
(
getBlasThreads
()
!=
cv
::
getThreadNum
())
{
setBlasThreads
(
cv
::
getThreadNum
());
}
#endif
}
void
BaseConvolutionLayerImpl
::
init
()
...
...
modules/dnn/src/layers/elementwise_layers.hpp
View file @
62cc8d86
...
...
@@ -46,9 +46,7 @@
#include <cmath>
#include <opencv2/dnn/all_layers.hpp>
#include <opencv2/core/ocl.hpp>
#ifdef HAVE_OPENCL
#include "modules/dnn/opencl_kernels_dnn.hpp"
#endif
#include "opencl_kernels_dnn.hpp"
namespace
cv
{
...
...
modules/dnn/src/layers/lrn_layer.cpp
View file @
62cc8d86
...
...
@@ -42,7 +42,7 @@
#include "../precomp.hpp"
#include "layers_common.hpp"
#include "lrn_layer.hpp"
#include "
modules/dnn/
opencl_kernels_dnn.hpp"
#include "opencl_kernels_dnn.hpp"
#include <opencv2/imgproc.hpp>
#include <opencv2/core/ocl.hpp>
#include <opencv2/dnn/shape_utils.hpp>
...
...
modules/dnn/src/layers/softmax_layer.cpp
View file @
62cc8d86
...
...
@@ -43,7 +43,7 @@
#include "layers_common.hpp"
#include "softmax_layer.hpp"
#include <opencv2/core/ocl.hpp>
#include "
modules/dnn/
opencl_kernels_dnn.hpp"
#include "opencl_kernels_dnn.hpp"
#include <algorithm>
#include <stdlib.h>
using
std
::
max
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment