Unverified Commit 0eadaeff authored by mohankku's avatar mohankku Committed by GitHub
Browse files

[Bugfix] Avoid uninitialized usage of azp_val when AZP is false. (#24335)


Signed-off-by: default avatarMohan Kumar Kumar <mohan.cbein@gmail.com>
Signed-off-by: default avatarmohankku <mohan.cbein@gmail.com>
parent 0077c863
......@@ -145,7 +145,8 @@ void dynamic_scaled_int8_quant_impl(const scalar_t* input, int8_t* output,
}
}
float scale_val, azp_val;
float scale_val;
float azp_val = 0.0f;
if constexpr (AZP) {
float max_scalar = max_value.reduce_max();
float min_scalar = min_value.reduce_min();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment