From e1e6746b8cf2c697320f6cbf2766917cde2a3c15 Mon Sep 17 00:00:00 2001 From: wilisa01 Date: Thu, 10 Nov 2022 10:48:20 +0000 Subject: MLBEDSW-6415: Summary csv generation error - Removed unused variable total_npu_weights to fix summary csv error Change-Id: Id3c94166a787d2bb094ac6c6612fc866811515c2 Signed-off-by: wilisa01 --- ethosu/vela/nn_graph.py | 1 - ethosu/vela/stats_writer.py | 1 - 2 files changed, 2 deletions(-) (limited to 'ethosu') 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: -- cgit v1.2.1