diff --git a/aidge_core/dynamic_analysis.py b/aidge_core/dynamic_analysis.py index c8cdd6710e7c429de3e1ce0fc202e04e7a7a1cd1..232b7438d78a23af61eb5b62ac9324defdee390b 100644 --- a/aidge_core/dynamic_analysis.py +++ b/aidge_core/dynamic_analysis.py @@ -60,7 +60,7 @@ class DynamicAnalysis(aidge_core.DynamicAnalysis): if node.type() == "Producer": continue - stats = self.get_op_stats(node) + stats = aidge_core.OperatorStats.get_op_stats(node) name = namePtrTable[node] attr = {} if type(node.get_operator()) is aidge_core.GenericOperatorOp: diff --git a/aidge_core/static_analysis.py b/aidge_core/static_analysis.py index 907bc48f5c104036ef538dfd4d98ecb8163ccb51..c237e7a96713a0c4d84e80be61269fe69530db72 100644 --- a/aidge_core/static_analysis.py +++ b/aidge_core/static_analysis.py @@ -96,7 +96,7 @@ class StaticAnalysis(aidge_core.StaticAnalysis): if node.type() == "Producer": continue - stats = self.get_op_stats(node) + stats = aidge_core.OperatorStats.get_op_stats(node) name = namePtrTable[node] attr = {} if type(node.get_operator()) is aidge_core.GenericOperatorOp: