Skip to content

Commit

Permalink
Fix Linter Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusJungemann committed Jan 31, 2025
1 parent c57e3c2 commit 61dafe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/finn/transformation/streamline/reorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def apply(self, model):
if prod0.op_type in ["Mul", "Div", "Add", "Sub"]:
# Cannot handle fork-nodes, try MoveLinearPastFork first
if model.is_fork_node(prod0):
warnings.warn(
log.warning(
f"{self.__class__.__name__}:"
f" Skipping near match: {prod0.name} is a fork-node,"
f" try MoveLinearPastFork first"
Expand Down
2 changes: 1 addition & 1 deletion tests/end2end/test_end2end_bnn_pynq.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
from qonnx.transformation.lower_convs_to_matmul import LowerConvsToMatMul
from qonnx.transformation.merge_onnx_models import MergeONNXModels
from qonnx.util.cleanup import cleanup as qonnx_cleanup
from shutil import copy, copytree
from shutil import copy

import finn.transformation.fpgadataflow.convert_to_hw_layers as to_hw
import finn.transformation.streamline.absorb as absorb
Expand Down

0 comments on commit 61dafe4

Please sign in to comment.