Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhenqi committed Oct 9, 2024
1 parent 07bad1e commit 5a62e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxscript/rewriter/pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ def _match_node(self, pattern_node: NodePattern, node: ir.Node) -> bool:

self._matched[pattern_node] = node

# Note: Need to revisit this to handle optional trailing inputs better.
# Note: Need to revisit this to handle optional trailing inputs better.
if len(node.inputs) != len(pattern_node.inputs):
return self.fail("Input nums mismatch. {len(node.inputs)} vs {len(pattern_node.inputs)}")

Check warning on line 964 in onnxscript/rewriter/pattern.py

View check run for this annotation

Codecov / codecov/patch

onnxscript/rewriter/pattern.py#L964

Added line #L964 was not covered by tests

Expand Down

0 comments on commit 5a62e2d

Please sign in to comment.