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

Function dequantize_s32

arm_compute/core/QuantizationInfo.h:639–642  ·  view source on GitHub ↗

Dequantize a value given a 32-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

637 * @return Dequantized value
638 */
639inline float dequantize_s32(int32_t value, const UniformQuantizationInfo &qinfo)
640{
641 return (static_cast<int>(value) - qinfo.offset) * qinfo.scale;
642}
643
644/** Dequantize a value given a 32-bit asymmetric quantization scheme
645 *

Callers 1

dequantizeFunction · 0.85

Calls 1

uniformMethod · 0.45

Tested by

no test coverage detected