@@ -179,7 +179,7 @@ static int test_convolution_int8(int w, int h, int c, int outch, int kernel, int
179179 }
180180
181181 int flag = TEST_LAYER_DISABLE_GPU_TESTING;
182- int ret = test_layer (" Convolution" , pd, weights, a, requant ? 1 .0f : 0 .001f , 0 , flag);
182+ int ret = test_layer (" Convolution" , pd, weights, a, requant ? 1 .0f : 0 .001f , flag);
183183 if (ret != 0 )
184184 {
185185 fprintf (stderr, " test_convolution_int8 failed w=%d h=%d c=%d outch=%d kernel=%d dilation=%d stride=%d pad=%d bias=%d requant=%d act=%d actparams=[%f,%f]\n " , w, h, c, outch, kernel, dilation, stride, pad, bias, requant, activation_type, activation_params[0 ], activation_params[1 ]);
@@ -200,7 +200,7 @@ static int test_convolution_int8(int w, int h, int c, int outch, int kernel, int
200200 opt.use_winograd23_convolution = true ;
201201 opt.use_winograd43_convolution = false ;
202202
203- ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , 0 , flag);
203+ ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , flag);
204204 if (ret != 0 )
205205 {
206206 fprintf (stderr, " test_convolution_int8 failed w=%d h=%d c=%d outch=%d kernel=%d dilation=%d stride=%d pad=%d bias=%d requant=%d act=%d actparams=[%f,%f]\n " , w, h, c, outch, kernel, dilation, stride, pad, bias, requant, activation_type, activation_params[0 ], activation_params[1 ]);
@@ -219,7 +219,7 @@ static int test_convolution_int8(int w, int h, int c, int outch, int kernel, int
219219 opt.use_sgemm_convolution = false ;
220220 opt.use_winograd_convolution = false ;
221221
222- ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , 0 , flag);
222+ ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , flag);
223223 if (ret != 0 )
224224 {
225225 fprintf (stderr, " test_convolution_int8 failed w=%d h=%d c=%d outch=%d kernel=%d dilation=%d stride=%d pad=%d bias=%d requant=%d act=%d actparams=[%f,%f]\n " , w, h, c, outch, kernel, dilation, stride, pad, bias, requant, activation_type, activation_params[0 ], activation_params[1 ]);
@@ -238,7 +238,7 @@ static int test_convolution_int8(int w, int h, int c, int outch, int kernel, int
238238 opt.use_sgemm_convolution = false ;
239239 opt.use_winograd_convolution = false ;
240240
241- ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , 0 , flag);
241+ ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , flag);
242242 if (ret != 0 )
243243 {
244244 fprintf (stderr, " test_convolution_int8 failed w=%d h=%d c=%d outch=%d kernel=%d dilation=%d stride=%d pad=%d bias=%d requant=%d act=%d actparams=[%f,%f]\n " , w, h, c, outch, kernel, dilation, stride, pad, bias, requant, activation_type, activation_params[0 ], activation_params[1 ]);
@@ -257,7 +257,7 @@ static int test_convolution_int8(int w, int h, int c, int outch, int kernel, int
257257 opt.use_sgemm_convolution = false ;
258258 opt.use_winograd_convolution = false ;
259259
260- ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , 0 , flag);
260+ ret = test_layer_opt (" Convolution" , pd, weights, opt, a, requant ? 1 .0f : 0 .001f , flag);
261261 if (ret != 0 )
262262 {
263263 fprintf (stderr, " test_convolution_int8 failed w=%d h=%d c=%d outch=%d kernel=%d dilation=%d stride=%d pad=%d bias=%d requant=%d act=%d actparams=[%f,%f]\n " , w, h, c, outch, kernel, dilation, stride, pad, bias, requant, activation_type, activation_params[0 ], activation_params[1 ]);
0 commit comments