|
|
@ -60,12 +60,12 @@ BaseConvolutionLayerImpl::BaseConvolutionLayerImpl(): |
|
|
|
inpGroupCn(0), outGroupCn(0), |
|
|
|
inpGroupCn(0), outGroupCn(0), |
|
|
|
ksize(0), bias(false), tryUseOpenCL(false) |
|
|
|
ksize(0), bias(false), tryUseOpenCL(false) |
|
|
|
{ |
|
|
|
{ |
|
|
|
#if HAVE_CBLAS |
|
|
|
#ifdef HAVE_LAPACK |
|
|
|
if (getBlasThreads() != cv::getThreadNum()) |
|
|
|
if (getBlasThreads() != cv::getThreadNum()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
setBlasThreads(cv::getThreadNum()); |
|
|
|
setBlasThreads(cv::getThreadNum()); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void BaseConvolutionLayerImpl::init() |
|
|
|
void BaseConvolutionLayerImpl::init() |
|
|
|