Searched refs:x_clamped (Results 1 – 7 of 7) sorted by relevance
50 …const int32_t x_clamped = (int32_t)(x_rounded < lmin ? lmin : x_rounded > lmax ? lmax : x_rounded); in xnn_requantize_fp32__scalar_lrintf() local55 const int32_t x_biased = x_clamped + (int32_t)(uint32_t) zero_point; in xnn_requantize_fp32__scalar_lrintf()97 const float x_clamped = x_scaled < fmin ? fmin : x_scaled > fmax ? fmax : x_scaled; in xnn_requantize_fp32__scalar_magic() local102 const int32_t x_biased = (int32_t) fp32_to_bits(x_clamped + fmagic) - imagic; in xnn_requantize_fp32__scalar_magic()
108 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_requantize_precise__scalar_unsigned32() local118 const int32_t x_biased = x_clamped + zero_point; in xnn_requantize_precise__scalar_unsigned32()193 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_requantize_precise__scalar_unsigned64() local203 const int32_t x_biased = x_clamped + zero_point; in xnn_requantize_precise__scalar_unsigned64()271 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_requantize_precise__scalar_signed64() local281 const int32_t x_biased = x_clamped + zero_point; in xnn_requantize_precise__scalar_signed64()
66 const int32_t x_clamped = x_biased < smin ? smin : x_biased > smax ? smax : x_biased; in xnn_requantize_gemmlowp__scalar() local71 output[0] = (uint8_t) x_clamped; in xnn_requantize_gemmlowp__scalar()
61 const psimd_f32 x_clamped = psimd_min_f32(psimd_max_f32(x_scaled, vfmin), vfmax); in xnn_requantize_fp32__psimd() local68 const psimd_s32 x_biased = (psimd_s32)(x_clamped + vfmagic) - vimagic; in xnn_requantize_fp32__psimd()
88 const float32x4_t x_clamped = vminq_f32(vmaxq_f32(x_scaled, vfmin), vfmax); in xnn_requantize_fp32__neon() local95 …const int32x4_t x_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(x_clamped, vfmagic)), vimagic… in xnn_requantize_fp32__neon()
108 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_requantize_q31__scalar() local118 const int32_t x_biased = x_clamped + zero_point; in xnn_requantize_q31__scalar()
125 …const psimd_u32 x_clamped = (psimd_u32) psimd_max_s32(psimd_min_s32(x_scaled, vsmax), vsmin) + vze… in xnn_requantize_precise__psimd() local130 … const psimd_u16 xy_clamped = psimd_concat_even_u16((psimd_u16) x_clamped, (psimd_u16) y_clamped); in xnn_requantize_precise__psimd()