diff --git a/aidge_export_cpp/operators.py b/aidge_export_cpp/operators.py
index 455ae8174732171cf4257034f5b204cab5e518fb..c9bbb6cc6cca5a5df21bec1e7ceb8130a484ac3b 100644
--- a/aidge_export_cpp/operators.py
+++ b/aidge_export_cpp/operators.py
@@ -149,9 +149,6 @@ class ConvCPP(ExportNode):
         # Use PaddedConv to add padding attribute
         self.padding = [0, 0]
 
-        self.nb_channels = node.get_operator().get_attr("InChannels")
-        self.nb_outputs = node.get_operator().get_attr("OutChannels")
-
         if len(self.inputs_dims[0]) == 4:
             # if dims == [batch, nb_channels, height, width]
             # transform to [nb_channels, height, width]