Searched refs:fixedpoint_position (Results 1 – 3 of 3) sorted by relevance
/external/ComputeLibrary/src/core/utils/quantization/ |
D | AsymmHelpers.cpp | 285 constexpr uint32_t fixedpoint_position = 3; in get_invsqrt_quantized_multiplier_exp() local 286 …nstexpr uint32_t fixedpoint_int_position = sizeof(FixedPointRawType) * 8 - 1 - fixedpoint_position; in get_invsqrt_quantized_multiplier_exp() 315 …t auto x3 = fixed_point_rescale(fixed_point_mul(fixed_point_mul(x, x), x), 9, fixedpoint_position); in get_invsqrt_quantized_multiplier_exp() 316 …ul(fixedpoint_half_three, x) - fixed_point_mul(fixedpoint_half_input, x3), 6, fixedpoint_position); in get_invsqrt_quantized_multiplier_exp()
|
/external/ComputeLibrary/src/core/CL/cl_kernels/common/ |
D | qlstm_layer_normalization.cl | 111 const unsigned int fixedpoint_position = 3; 112 …igned int fixedpoint_int_position = sizeof(FixedPointRawType) * 8 - 1 - fixedpoint_position; 124 int x3 = ASYMM_RESCALE(ASYMM_MULT(ASYMM_MULT(x, x, 1), x, 1), 9, fixedpoint_position, 1); 125 …ixedpoint_half_three, x, 1) - ASYMM_MULT(fixedpoint_half_input, x3, 1), 6, fixedpoint_position, 1);
|
/external/ComputeLibrary/cl_kernels/common/ |
D | qlstm_layer_normalization.clembed | 1766 const unsigned int fixedpoint_position = 3; 1767 …igned int fixedpoint_int_position = sizeof(FixedPointRawType) * 8 - 1 - fixedpoint_position; 1779 int x3 = ASYMM_RESCALE(ASYMM_MULT(ASYMM_MULT(x, x, 1), x, 1), 9, fixedpoint_position, 1); 1780 …ixedpoint_half_three, x, 1) - ASYMM_MULT(fixedpoint_half_input, x3, 1), 6, fixedpoint_position, 1);
|