Skip to content

Commit

Permalink
Feat (equalize): add support for Identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Jul 13, 2023
1 parent f1c9f27 commit 1abc765
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/brevitas/graph/equalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
nn.AvgPool3d,
nn.AdaptiveAvgPool1d,
nn.AdaptiveAvgPool2d,
nn.AdaptiveAvgPool3d)
nn.AdaptiveAvgPool3d,
nn.Identity)

_scale_invariant_op = (torch.mul, operator.mul, operator.imul, operator.__mul__, operator.__imul__)

Expand Down

0 comments on commit 1abc765

Please sign in to comment.