Skip to content

Commit

Permalink
Unify the two pattern-matchers (#1495)
Browse files Browse the repository at this point in the history
Update generic pattern matcher to support the unified API.

* Update generic_pattern_test cases to use unified API.
* Update the generic_pattern implementation.

Still todo:
* generic_pattern doesn't support attributes yet
* pattern hasn't been updated yet to support extra first-parameter for
pattern-builder and checker-function
* unify PatternMatchResult and MatchResult
* More redundancies to be eliminated between the two matchers. Eg.,
generic-pattern doesn't yet update opset-imports (unlike pattern)
  • Loading branch information
gramalingam authored May 3, 2024
1 parent a1e46e4 commit e0a7c9a
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 429 deletions.
Loading

0 comments on commit e0a7c9a

Please sign in to comment.