Skip to content
Commit 9dae3a68 authored by Johan Gunnarsson's avatar Johan Gunnarsson
Browse files

MLBEDSW-10297: ConvertHardSwishToLUT: Make sure shift is in range



QuantizedScale can give us shifts in the range of [0, 63] but
RoundingDivideByPOT can only handle shifts in the range of
[0, 31], so try to move it into the smaller range before calling
that function.

Signed-off-by: Johan Gunnarsson's avatarJohan Gunnarsson <johan.gunnarsson@arm.com>
Change-Id: I24e8b67a28550bb88c0a746add06484af1c240d1
parent fe1a5407
Loading
Loading
Loading
Pipeline #23621 passed with stages
in 5 minutes and 24 seconds
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