Searched refs:requantization_scale (Results 1 – 5 of 5) sorted by relevance
/external/XNNPACK/src/operators/ |
D | fully-connected-nc.c | 285 const float requantization_scale = input_scale * kernel_scale / output_scale; in xnn_create_fully_connected_nc_qu8() local 286 if (requantization_scale >= 1.0f) { in xnn_create_fully_connected_nc_qu8() 291 input_scale, kernel_scale, output_scale, requantization_scale); in xnn_create_fully_connected_nc_qu8() 296 kernel_zero_point, requantization_scale, output_zero_point, output_min, output_max); in xnn_create_fully_connected_nc_qu8()
|
D | convolution-nhwc.c | 475 const float requantization_scale = input_scale * kernel_scale / output_scale; in xnn_create_convolution2d_nhwc_qu8() local 476 if (requantization_scale >= 1.0f) { in xnn_create_convolution2d_nhwc_qu8() 481 input_scale, kernel_scale, output_scale, requantization_scale); in xnn_create_convolution2d_nhwc_qu8() 490 kernel_zero_point, requantization_scale, output_zero_point, output_min, output_max); in xnn_create_convolution2d_nhwc_qu8() 572 const float requantization_scale = input_scale * kernel_scale / output_scale; in xnn_create_convolution2d_nhwc_qs8() local 573 if (requantization_scale >= 1.0f) { in xnn_create_convolution2d_nhwc_qs8() 578 input_scale, kernel_scale, output_scale, requantization_scale); in xnn_create_convolution2d_nhwc_qs8() 584 requantization_scale, output_zero_point, output_min, output_max); in xnn_create_convolution2d_nhwc_qs8()
|
D | deconvolution-nhwc.c | 358 const float requantization_scale = input_scale * kernel_scale / output_scale; in xnn_create_deconvolution2d_nhwc_qu8() local 359 if (requantization_scale >= 1.0f) { in xnn_create_deconvolution2d_nhwc_qu8() 364 input_scale, kernel_scale, output_scale, requantization_scale); in xnn_create_deconvolution2d_nhwc_qu8() 369 kernel_zero_point, requantization_scale, output_zero_point, output_min, output_max); in xnn_create_deconvolution2d_nhwc_qu8()
|
/external/XNNPACK/test/ |
D | gemm-microkernel-tester.h | 266 const float requantization_scale = 1.0f / float(c_scale); variable 271 b_zero_point(), requantization_scale, c_zero_point, qmin(), qmax()); 275 b_zero_point(), requantization_scale, c_zero_point, qmin(), qmax()); 279 … xnn_init_scalar_qu8_requantization_params(requantization_scale, c_zero_point, qmin(), qmax()); 303 …<< ", requantization scale = " << requantization_scale << ", output zero point = " << int32_t(c_ze… 391 const float requantization_scale = 1.0f / float(c_scale); variable 396 b_zero_point(), requantization_scale, c_zero_point, qmin(), qmax()); 400 b_zero_point(), requantization_scale, c_zero_point, qmin(), qmax()); 404 … xnn_init_scalar_qu8_requantization_params(requantization_scale, c_zero_point, qmin(), qmax()); 430 …<< ", requantization scale = " << requantization_scale << ", output zero point = " << int32_t(c_ze… [all …]
|
D | dwconv-microkernel-tester.h | 239 const float requantization_scale = 1.0f / float(output_scale); variable 244 kernel_zero_point(), requantization_scale, output_zero_point, qmin(), qmax()); 248 kernel_zero_point(), requantization_scale, output_zero_point, qmin(), qmax()); 252 …xnn_init_scalar_qu8_requantization_params(requantization_scale, output_zero_point, qmin(), qmax()); 352 const float requantization_scale = 1.0f / float(output_scale); variable 357 requantization_scale, output_zero_point, int8_t(qmin() - 0x80), int8_t(qmax() - 0x80)); 361 requantization_scale, output_zero_point, int8_t(qmin() - 0x80), int8_t(qmax() - 0x80)); 365 …xnn_init_scalar_qs8_requantization_params(requantization_scale, output_zero_point, int8_t(qmin() -…
|