diff options
author | Tim Hall <tim.hall@arm.com> | 2022-04-20 20:19:48 +0100 |
---|---|---|
committer | Tim Hall <tim.hall@arm.com> | 2022-04-20 21:10:54 +0100 |
commit | f9267da3ad6251a7e04f501218380ac9a89953b7 (patch) | |
tree | cc2c78f0c068817c228fb8b74b68ecc42865da0a /ethosu/vela/tflite/Model.py | |
parent | 814d01f5a86b50a3a6b7e589db59047d0666b770 (diff) | |
download | ethos-u-vela-f9267da3ad6251a7e04f501218380ac9a89953b7.tar.gz |
MLBEDSW-6407: Vela fails with TypeError in npu_performance
- This is due to calling range() on a non-integer value which in turn is due
to a change in the behaviour of round() on numpy.float64 values
- The fix is to always force the output of the round() to be an integer and
thereby stop whole number floating point values propagating into the kernel
dimensions which later feed into the range().
Signed-off-by: Tim Hall <tim.hall@arm.com>
Change-Id: Ic75cb6ba85a90c81c1d762067d89a10caaa13b92
Diffstat (limited to 'ethosu/vela/tflite/Model.py')
0 files changed, 0 insertions, 0 deletions