Skip to content

Commit

Permalink
Fix failing PyTests
Browse files Browse the repository at this point in the history
  • Loading branch information
bo3z committed Jun 16, 2023
1 parent ff86c26 commit 20ed996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hls4ml/backends/fpga/passes/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def match(self, node):
weights_transposed = node.get_attr('_weights_transposed', False)

# RF = 1 will optimize DSPs anyway, so no need to unroll code
rf_gt_one = node.get_attr('reuse_factor') > 1
rf_gt_one = node.get_attr('reuse_factor', 1) > 1

# User requested unrolled implementation of Dense
is_unrolled = node.get_attr('dense_resource_implementation', 'standard') == 'unrolled'
Expand Down

0 comments on commit 20ed996

Please sign in to comment.