Searched refs:a_output_scale (Results 1 – 1 of 1) sorted by relevance
1155 float a_output_scale, in xnn_init_qu8_add_params() argument1160 assert(a_output_scale >= 0x1.0p-14f); in xnn_init_qu8_add_params()1162 assert(a_output_scale < 0x1.0p+8f); in xnn_init_qu8_add_params()1166 const float max_output_scale = math_max_f32(a_output_scale, b_output_scale); in xnn_init_qu8_add_params()1179 const uint32_t a_multiplier = (uint32_t) (int32_t) lrintf(a_output_scale * scale_multiplier); in xnn_init_qu8_add_params()1244 float a_output_scale, in xnn_init_scalar_qu8_add_params() argument1249 assert(a_output_scale >= 0x1.0p-10f); in xnn_init_scalar_qu8_add_params()1251 assert(a_output_scale < 0x1.0p+8f); in xnn_init_scalar_qu8_add_params()1255 const float max_output_scale = math_max_f32(a_output_scale, b_output_scale); in xnn_init_scalar_qu8_add_params()1266 …multiplier = (uint32_t) (int32_t) lrintf(fp32_from_bits(fp32_to_bits(a_output_scale) + (shift << 2… in xnn_init_scalar_qu8_add_params()