Skip to content
Commit ac111101 authored by Johan Alfvén's avatar Johan Alfvén Committed by Fredrik Svedberg
Browse files

MLBEDSW-7578: Fix output diff caused by wrong rounding in Conv2d



- The reference calculates the rounding different between
int8 and int16 for Conv2d. However, internally a Conv2d can be
changed to a FullyConnect but then the rounding must still be
calculated following the Conv2d reference.

- The fix is to check the original type if NATURAL rounding
should be used or not. int16 Conv2d uses NATURAL rounding
in reference.

Change-Id: I80d48b54372ef7b978ee2e9384a01934dd454e24
Signed-off-by: Johan Alfvén's avatarJohan Alfven <johan.alfven@arm.com>
parent 5fd155eb
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