Skip to content
Snippets Groups Projects
Commit cc643866 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[QONNX] Remove forking act. restriction for QONNX->FINN-ONNX, works fine

parent ec6b9b95
No related branches found
No related tags found
No related merge requests found
...@@ -110,11 +110,6 @@ class ConvertQuantActToMultiThreshold(Transformation): ...@@ -110,11 +110,6 @@ class ConvertQuantActToMultiThreshold(Transformation):
predecessor_op_type = predecessor[0].op_type predecessor_op_type = predecessor[0].op_type
else: else:
predecessor_op_type = predecessor predecessor_op_type = predecessor
# if model.is_fork_node(n):
# raise ValueError(
# "Forking Quant/BipolarQuant nodes are currently "
# "not supported by FINN."
# )
if n.op_type == "Quant" and not model.get_initializer(n.input[2]) == 0: if n.op_type == "Quant" and not model.get_initializer(n.input[2]) == 0:
raise ValueError( raise ValueError(
"Only Quant nodes with zero-point == 0 are currently supported." "Only Quant nodes with zero-point == 0 are currently supported."
......
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