Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Jan 23, 2025
1 parent b7c8776 commit d391858
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/brevitas/graph/equalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,8 @@ def apply(self, alpha):
co_optimize_act_weights=self.co_optimize_act_weights)
scale_factors.append(scale_factor_region)
rewriters.append(rewriters_region)
for r in rewriters_region:
r.apply(self.model)
return scale_factors, rewriters_region

def insert_mul_node(self, scale, shape, axis, act_node, batch_dim=0):
Expand Down

0 comments on commit d391858

Please sign in to comment.