aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilisa01 <william.isaksson@arm.com>2022-11-10 10:48:20 +0000
committerFredrik Svedberg <fredrik.svedberg@arm.com>2022-11-14 13:38:32 +0000
commite1e6746b8cf2c697320f6cbf2766917cde2a3c15 (patch)
tree24b77362d7ed4111040fd57765c5d9e0e07de769
parent5ae6cb0b7a50f8164d5a4568126e90562bb1591a (diff)
downloadethos-u-vela-e1e6746b8cf2c697320f6cbf2766917cde2a3c15.tar.gz
MLBEDSW-6415: Summary csv generation error
- Removed unused variable total_npu_weights to fix summary csv error Change-Id: Id3c94166a787d2bb094ac6c6612fc866811515c2 Signed-off-by: wilisa01 <william.isaksson@arm.com>
-rw-r--r--ethosu/vela/nn_graph.py1
-rw-r--r--ethosu/vela/stats_writer.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/ethosu/vela/nn_graph.py b/ethosu/vela/nn_graph.py
index 671843f3..30643b85 100644
--- a/ethosu/vela/nn_graph.py
+++ b/ethosu/vela/nn_graph.py
@@ -535,7 +535,6 @@ class Graph:
self.metadata = []
self.memory_used = {}
self.total_original_weights = 0
- self.total_npu_weights = 0
self.total_npu_encoded_weights = 0
self.weight_cache = None # See CompressedWeightCache
self.bandwidths = 0
diff --git a/ethosu/vela/stats_writer.py b/ethosu/vela/stats_writer.py
index f3e2dbac..9db6a97c 100644
--- a/ethosu/vela/stats_writer.py
+++ b/ethosu/vela/stats_writer.py
@@ -59,7 +59,6 @@ def write_summary_metrics_csv(nng, summary_filename, arch):
]
labels += [area.identifier_name() + "_memory_used" for area in mem_areas]
labels += ["total_original_weights"]
- labels += ["total_npu_weights"]
labels += ["total_npu_encoded_weights"]
for mem_area in mem_areas: