Skip to content

Commit 3aaa866

Browse files
authored
Update onnxscript/rewriter/pattern.py
1 parent 4419f27 commit 3aaa866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxscript/rewriter/pattern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ def _match_node(self, pattern_node: NodePattern, node: ir.Node) -> bool:
959959

960960
self._matched[pattern_node] = node
961961

962-
# Note: Need to revisit this to handle optional trailing inputs better.
962+
# TODO: Revisit this to handle optional trailing inputs better.
963963
if len(node.inputs) != len(pattern_node.inputs):
964964
return self.fail(
965965
"Input nums mismatch. {len(node.inputs)} vs {len(pattern_node.inputs)}"

0 commit comments

Comments
 (0)