Skip to content
Commit 7ede3176 authored by Johan Alfvén's avatar Johan Alfvén
Browse files

MLBEDSW-7542: Fix output diff caused by wrong scaling in Conv2d



- The reference calculates the scale slightly different between
Conv2d and FullyConnect. Recently a fix was submitted to address
this issue. However, internally a Conv2d can be changed to a
FullyConnect but then the scale must still be calculated
following the Conv2d reference.

- The fix is to check the original type if FullyConnect scale
should be used or not.

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