Skip to content
Commit 3b1578e4 authored by Tim Hall's avatar Tim Hall Committed by Tim Hall
Browse files

MLBEDSW-7151: MLCE: Difference in model output between x86 & aarch64



 - The issue is due to undefined behaviour when casting a NumPy float
to a NumPy unsigned integer which occurs in create_const_tensor()
 - The fix is to make sure that the values are first cast to a Python
float
 - In addition, the values datatype argument has been removed from
create_const_tensor() to stop the tensor and values datatypes getting
out of sync

Change-Id: I134b9be8c941b361929a5ae7db8cb35f2e9728f2
Signed-off-by: Tim Hall's avatarTim Hall <tim.hall@arm.com>
parent f3490471
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