Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
gramalingam committed Aug 1, 2024
1 parent 0526a14 commit 67527db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions onnxscript/rewriter/pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ def nodes(self) -> Sequence[NodePattern]:

onnxop = OpsetPatternBuilder("")

# msft_op = OpsetPatternBuilder("com.microsoft")

torch_module_op = OpsetPatternBuilder(PrefixPattern("pkg.torch"))


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 67527db

Please sign in to comment.