diff --git a/lite/kernels/opencl/depthwise_conv2d_image_compute_test.cc b/lite/kernels/opencl/depthwise_conv2d_image_compute_test.cc index e36be300ba5d8b961c0bb9a0ad86ae121bd9e8f2..d7921ebbbd4e6c79dba1183176c391e551c369e2 100644 --- a/lite/kernels/opencl/depthwise_conv2d_image_compute_test.cc +++ b/lite/kernels/opencl/depthwise_conv2d_image_compute_test.cc @@ -399,7 +399,6 @@ TEST(depthwise_conv2d, compute_image2d_3x3) { const int ih = 112; const int iw = 112; #endif - stride = (stride == 1) ? 2 : 1; // pad = (pad == 0) ? 1 : 0; const int fb = oc; const int ic = oc;