From cc6438666d3d3521fa54d4cedaa82a2870a60884 Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <maltanar@gmail.com> Date: Wed, 20 Jul 2022 12:20:56 +0200 Subject: [PATCH] [QONNX] Remove forking act. restriction for QONNX->FINN-ONNX, works fine --- src/finn/transformation/qonnx/quant_act_to_multithreshold.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/finn/transformation/qonnx/quant_act_to_multithreshold.py b/src/finn/transformation/qonnx/quant_act_to_multithreshold.py index df1fd089f..77025ecdf 100644 --- a/src/finn/transformation/qonnx/quant_act_to_multithreshold.py +++ b/src/finn/transformation/qonnx/quant_act_to_multithreshold.py @@ -110,11 +110,6 @@ class ConvertQuantActToMultiThreshold(Transformation): predecessor_op_type = predecessor[0].op_type else: 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: raise ValueError( "Only Quant nodes with zero-point == 0 are currently supported." -- GitLab