Skip to content

Commit

Permalink
Correct zero_point_impl inj
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Oct 1, 2024
1 parent eb6e108 commit 7e1fd5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/brevitas/quant/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ class AccumulatorAwareZeroCenterWeightQuant(AccumulatorAwareWeightQuant):
"""
per_channel_pre_norm = AccumulatorAwareZeroCenterPerChannelPreNorm

@value
def pre_zero_point_impl():
return this.per_channel_pre_norm.pre_zero_point_impl


class MSESubInjectorBase(ExtendedInjector):

Expand Down

0 comments on commit 7e1fd5e

Please sign in to comment.