Function arm_nn_requantize_s64¶
Defined in File arm_nnsupportfunctions.h
Function Documentation¶
-
static int32_t arm_nn_requantize_s64(const int64_t val, const int32_t reduced_multiplier, const int32_t shift)¶
Requantize a given 64 bit value.
- Parameters:
val – [in] Value to be requantized in the range {-(1<<47)} to {(1<<47) - 1}
reduced_multiplier – [in] Reduced multiplier in the range {NN_Q31_MIN + 1, Q32_MAX} to {Q16_MIN + 1, Q16_MAX}
shift – [in] Left or right shift for ‘val * multiplier’ in the range {-31} to {7}
- Returns:
Returns (val * multiplier)/(2 ^ shift)