[MLBEDSW-4254] Improve weight information in summary
Improved weight information showed in summary if --verbose-weights
option is used.
Signed-off-by: Fredrik Svedberg <fredrik.svedberg@arm.com>
Change-Id: Iac142f2a813bf1c05aa9da3f8a384466e2914d06
diff --git a/ethosu/vela/nn_graph.py b/ethosu/vela/nn_graph.py
index 2d4b0c8..677a385 100644
--- a/ethosu/vela/nn_graph.py
+++ b/ethosu/vela/nn_graph.py
@@ -517,9 +517,9 @@
self.subgraphs = []
self.metadata = []
self.memory_used = {}
- self.weights_compression_ratio = 0
self.total_original_weights = 0
- self.total_compressed_weights = 0
+ self.total_npu_weights = 0
+ self.total_npu_encoded_weights = 0
self.weight_cache = None # See CompressedWeightCache
def get_root_subgraph(self):