Skip to content

Commit

Permalink
fix bias sink
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Jan 23, 2025
1 parent 0b7b925 commit 8db7cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brevitas/graph/equalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def _no_equalize():
module=module,
tensor_name="bias",
transform_module=ScaleWeightParametrization(
scaling_factor=partial_scale.view_as(module.bias),)))
scaling_factor=partial_scale.view_as(module.bias),is_sink=False)))
src_broadcast_size = [1] * module.weight.ndim
src_broadcast_size[axis] = module.weight.size(axis)
if fuse_scaling:
Expand Down

0 comments on commit 8db7cf6

Please sign in to comment.