Skip to content
Snippets Groups Projects
Commit 640bbef9 authored by Mickael GUIBERT's avatar Mickael GUIBERT Committed by Axel Farrugia
Browse files

[Fix](Producer) Add ignore attribute to False by default

parent d022cce8
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,10 @@ class ProducerCPP(ExportNode):
def __init__(self, node, mem_info):
super().__init__(node, mem_info)
self.values = np.array(self.operator.get_output(0))
self.ignore = node.attributes().ignore
if node.attributes().has_attr("ignore"):
self.ignore = node.attributes().ignore
else:
self.ignore = False
if node.attributes().has_attr("ignore"):
self.ignore = node.attributes().ignore
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment