From e5b01638d78062f96f6560a9ab632db99f2213a6 Mon Sep 17 00:00:00 2001 From: Tim Hall Date: Mon, 3 Aug 2020 19:51:19 +0100 Subject: MLBEDSW-2683: Neural Network MACs is wrong - Fixed. It only affected operators with striding greater than 1x1 Signed-off-by: Tim Hall Change-Id: I129e46586aa16079ddbce3898569676ba9891372 --- ethosu/vela/npu_performance.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'ethosu/vela') diff --git a/ethosu/vela/npu_performance.py b/ethosu/vela/npu_performance.py index 1663c26b..e09fc9e1 100644 --- a/ethosu/vela/npu_performance.py +++ b/ethosu/vela/npu_performance.py @@ -271,8 +271,6 @@ def performance_metrics_for_pass(arch, ps, block_config=None, rewrite_list=[], f * int(weight_tensor_shape[1]) * int(weight_tensor_shape[2]) * int(weight_tensor_shape[3]) - / int(strides[1]) - / int(strides[2]) ) else: weight_tensor_shape = [ -- cgit v1.2.1