Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Oct 28, 2024
1 parent f0e9a85 commit dd05b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brevitas/quant_tensor/int_torch_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def quant_output_scale_impl(
if len(quant_input_scale.shape) == 0:
quant_input_scale = quant_input_scale.view(output_scale_shape)
quant_input_scale = quant_input_scale.view(output_scale_shape)
if not is_broadcastable(output_scale_shape, quant_input_scale.shape):
if not is_broadcastable(quant_weight_scale.shape, quant_input_scale.shape):
return None

output_scale = quant_weight_scale * quant_input_scale
Expand Down

0 comments on commit dd05b52

Please sign in to comment.