Skip to content
Commit 5ff4cd12 authored by Tim Hall's avatar Tim Hall Committed by Tim Hall
Browse files

MLBEDSW-7223: Fusing Pad and AvgPool causes diff



 - Fixed an issue with the fusing of PAD and AVERAGE_POOL_2D whereby
the rounding away from zero didn't work because it requires the zero
point to be at zero but the input padding required it to be set to the
desired zero point. This affected both int8 and int16. The solution
was to remove it by using the bias prior to the scaling
 - Refactored the rounding away from zero mode

Change-Id: I8f2df69df06d2a9722315c346646e5a901cb2c3b
Signed-off-by: Tim Hall's avatarTim Hall <tim.hall@arm.com>
parent 0426fe9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment