Call optimised version of depthwise ConvLayer (#3664)

* Call optimised version of depthwise ConvLayer

* Update if statements
This commit is contained in:
Prabhat 2020-04-27 17:41:33 +05:30 committed by GitHub
parent c23b484275
commit d901640817
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,7 @@ Status Conv<T>::Compute(OpKernelContext* context) const {
if(optimizable) {
//optimized depthwise convolution
#if defined(ACL_1902) || defined(ACL_1905)
auto layer = std::make_shared<arm_compute::NEDepthwiseConvolutionLayer>();
auto layer = std::make_shared<arm_compute::NEDepthwiseConvolutionLayer3x3>();
#endif
#ifdef ACL_1908
auto layer = std::make_shared<arm_compute::NEDepthwiseConvolutionLayerOptimized>();