MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / dequantize_qasymm16

Function dequantize_qasymm16

arm_compute/core/QuantizationInfo.h:603–606  ·  view source on GitHub ↗

Dequantize a value given a 16-bit asymmetric quantization scheme * * @param[in] value Value to dequantize * @param[in] qinfo Quantization information to use for dequantizing * * @return Dequantized value */

Source from the content-addressed store, hash-verified

601 * @return Dequantized value
602 */
603inline float dequantize_qasymm16(uint16_t value, const UniformQuantizationInfo &qinfo)
604{
605 return (static_cast<int>(value) - qinfo.offset) * qinfo.scale;
606}
607
608/** Quantize a value given a 16-bit asymmetric quantization scheme
609 *

Callers 4

roi_alignFunction · 0.85
convert_from_asymmetricFunction · 0.85

Calls 1

uniformMethod · 0.45

Tested by

no test coverage detected