diff --git a/onnxscript/rewriter/pattern.py b/onnxscript/rewriter/pattern.py index f4dafc6a0..e54e0f472 100644 --- a/onnxscript/rewriter/pattern.py +++ b/onnxscript/rewriter/pattern.py @@ -195,8 +195,6 @@ def nodes(self) -> Sequence[NodePattern]: onnxop = OpsetPatternBuilder("") -# msft_op = OpsetPatternBuilder("com.microsoft") - torch_module_op = OpsetPatternBuilder(PrefixPattern("pkg.torch")) @@ -904,7 +902,6 @@ def __init__(self, function) -> None: def get_replacement(self, match: MatchResult) -> ReplacementSubgraph | None: context = RewriterContext() - # with pattern_builder(context): new_outputs = self._function(context, **match.bindings) if new_outputs is None: return None # Failed to create replacement subgraph