From fd5bdf91d621d319f327725fd3ee0b027d0b3ede Mon Sep 17 00:00:00 2001 From: Luka Macan Date: Thu, 1 Feb 2024 08:46:31 +0100 Subject: [PATCH] Fix relu check for ne16 --- dory/Hardware_targets/PULP/GAP9_NE16/HW_Parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dory/Hardware_targets/PULP/GAP9_NE16/HW_Parser.py b/dory/Hardware_targets/PULP/GAP9_NE16/HW_Parser.py index a5588601..45fd3520 100644 --- a/dory/Hardware_targets/PULP/GAP9_NE16/HW_Parser.py +++ b/dory/Hardware_targets/PULP/GAP9_NE16/HW_Parser.py @@ -60,7 +60,7 @@ def valid_ne16_node(self, node, idx): bias_type=IntegerType(name=f"{node.constant_type}{node.bias_bits}"), has_norm_quant=True, # TODO has_bias=True, - has_relu="Relu" in node.name + has_relu=node.min >= 0 ) return True, "" except ValidationError as e: