Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Feb 26, 2024
1 parent 14a4816 commit b2dac22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brevitas/proxy/parameter_quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def scale(self):
return out.scale

def zero_point(self):
if self.requires_input_bit_width or not self.is_quant_enabled:
if not self.is_quant_enabled:
return None
zhs = self._zero_hw_sentinel()
out = self.__call__(self.tracked_parameter_list[0], zhs, zhs)
Expand Down

0 comments on commit b2dac22

Please sign in to comment.