diff --git a/lite/kernels/arm/conv_compute.cc b/lite/kernels/arm/conv_compute.cc index 140a8365fe4fb4b6fc0be55d7e3898ede9e7f73e..54e67de5abbfc88f64a50b07335d2527d9738206 100644 --- a/lite/kernels/arm/conv_compute.cc +++ b/lite/kernels/arm/conv_compute.cc @@ -172,7 +172,7 @@ void ConvCompute::PrepareForRun() { no_dilation && flag_dw) { impl_ = new DepthwiseConv; // VLOG(3) << "Run DepthwiseConv Int8"; - }else if (param.groups == 1 && kw == 3 && sw == 2 && no_dilation && + } else if (param.groups == 1 && kw == 3 && sw == 2 && no_dilation && pads_equal) { impl_ = new DirectConv; // VLOG(3) << "Run DirectConv Int8";