From 341f0433f9c6b92bcf2e98ab3d9cecb807e9a364 Mon Sep 17 00:00:00 2001
From: Wissam Boussella <wissam.boussella@cea.fr>
Date: Tue, 23 Jul 2024 16:24:49 +0200
Subject: [PATCH] cleaning

---
 aidge_export_arm_cortexm/operators.py | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/aidge_export_arm_cortexm/operators.py b/aidge_export_arm_cortexm/operators.py
index 52125aa..9584ec8 100644
--- a/aidge_export_arm_cortexm/operators.py
+++ b/aidge_export_arm_cortexm/operators.py
@@ -74,9 +74,6 @@ class Producer_ARMCortexM:
         self.name = node.name()
         self.operator = node.get_operator()
         self.constant = self.operator.attr.constant
-        # a = self.operator.nb_outputs
-        # b = self.opertor.get_outputs_name()
-        # c = self.opertor.get_raw_output()
         self.values = np.array(self.operator.get_output(0))
 
     def export(self, export_file:Path, format:str = "NHWC"):
@@ -282,14 +279,6 @@ class Conv_ARMCortexM(ExportNode):
         self.nb_outputs = node.get_operator().out_channels()
         if self.inputs[0] is None : 
             raise RuntimeError("")      
-        else : 
-            self.input_name = self.inputs[0].name()
-        
-        self.output_name = self.name
-
-        if self.inputs_dims is None:
-            
-            raise RuntimeError("")
         if len(self.inputs_dims[0]) == 4:
             # if dims == [batch, nb_channels, height, width]
             # transform to [nb_channels, height, width]
@@ -299,9 +288,6 @@ class Conv_ARMCortexM(ExportNode):
             # if dims == [batch, nb_outputs]
             # transform to [nb_outputs, 1, 1]
             self.outputs_dims[0] = self.outputs_dims[0][1:]
-        
-        
-        
 
 
     def export(self, export_folder:Path, list_configs:list):
-- 
GitLab