Skip to content

Commit

Permalink
Fix for keepdim
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Jun 19, 2024
1 parent 500627d commit bcca84e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/brevitas/quant/solver/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def stats_reduce_dim(scaling_stats_op, scaling_per_output_channel, group_dim=Non
def keepdim(group_dim=None):
if group_dim is not None:
return True
else:
return False


class SolveScalingStatsInputViewShapeImplFromEnum(ExtendedInjector):
Expand Down

0 comments on commit bcca84e

Please sign in to comment.