Skip to content

Commit

Permalink
Fix relu check for ne16
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamac committed Feb 1, 2024
1 parent ce5a4f4 commit fd5bdf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dory/Hardware_targets/PULP/GAP9_NE16/HW_Parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fd5bdf9

Please sign in to comment.