diff options
Diffstat (limited to 'arm_compute/core/utils/quantization')
-rw-r--r-- | arm_compute/core/utils/quantization/AsymmHelpers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arm_compute/core/utils/quantization/AsymmHelpers.h b/arm_compute/core/utils/quantization/AsymmHelpers.h index d2cd76e256..e7a90fa216 100644 --- a/arm_compute/core/utils/quantization/AsymmHelpers.h +++ b/arm_compute/core/utils/quantization/AsymmHelpers.h @@ -37,6 +37,13 @@ namespace quantization * @param[out] right_shift Right bit shift. */ arm_compute::Error calculate_quantized_multiplier_less_than_one(double multiplier, int *quant_multiplier, int *right_shift); +/** Calculate quantized representation of multiplier having value greater than one. + * + * @param[in] multiplier Real multiplier. + * @param[out] quantized_multiplier Integer multiplier. + * @param[out] left_shift Left bit shift. + */ +arm_compute::Error calculate_quantized_multiplier_greater_than_one(double multiplier, int *quantized_multiplier, int *left_shift); } // namespace quantization } // namespace arm_compute #endif /* __ARM_COMPUTE_IO_FILE_HANDLER_H__ */ |