aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hall <tim.hall@arm.com>2020-08-03 19:51:19 +0100
committertim.hall <tim.hall@arm.com>2020-08-19 17:45:42 +0000
commite5b01638d78062f96f6560a9ab632db99f2213a6 (patch)
tree902ba90fa609f1e235d899a911cdbfe39f81a910
parentfb858733d9b5b937fea9222e407b0a780e0e48c9 (diff)
downloadethos-u-vela-e5b01638d78062f96f6560a9ab632db99f2213a6.tar.gz
MLBEDSW-2683: Neural Network MACs is wrong
- Fixed. It only affected operators with striding greater than 1x1 Signed-off-by: Tim Hall <tim.hall@arm.com> Change-Id: I129e46586aa16079ddbce3898569676ba9891372
-rw-r--r--ethosu/vela/npu_performance.py2
1 files changed, 0 insertions, 2 deletions
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 = [