From 71e83cb339b1e6550ac4508fd8e0b71eff21a0e0 Mon Sep 17 00:00:00 2001 From: hjchen2 Date: Tue, 19 Mar 2019 23:21:36 +0800 Subject: [PATCH] update --- .../kernel/arm/convolution/conv_bn_add_relu_kernel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/operators/kernel/arm/convolution/conv_bn_add_relu_kernel.cpp b/src/operators/kernel/arm/convolution/conv_bn_add_relu_kernel.cpp index 6fb8d537e1..509bfd4df4 100644 --- a/src/operators/kernel/arm/convolution/conv_bn_add_relu_kernel.cpp +++ b/src/operators/kernel/arm/convolution/conv_bn_add_relu_kernel.cpp @@ -73,8 +73,7 @@ void ConvBNAddReluKernel::Compute( param.ExecMode()); } - if (param.Bias()->dims() == param.InputBias()->dims() || - param.Bias()->dims() == param.Output()->dims()) { + if (param.Bias()->dims() == param.Output()->dims()) { math::ScaleAddChannelWise(param.Output(), param.InputScale(), param.InputBias(), param.Bias(), param.Output()); -- GitLab