Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relax][Transform] Add SelectNode handling in SymbolicMatcher #17368

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

mengshyu
Copy link
Contributor

This PR added support for handling SelectNode in the SymbolicMatcher class by modifying the VisitExpr_ function to match the true_value and false_value expressions between the current SelectNode and the other expression. If the other expression is not a SelectNode, the matching condition is updated to ensure the current SelectNode expression is equivalent to the other expression.

@tqchen
Copy link
Member

tqchen commented Sep 12, 2024

@mengshyu please fix lint

This PR added support for handling SelectNode in the SymbolicMatcher
class by modifying the VisitExpr_ function to match the true_value
and false_value expressions between the current SelectNode and the
other expression. If the other expression is not a SelectNode, the
matching condition is updated to ensure the current SelectNode
expression is equivalent to the other expression.
@MasterJH5574
Copy link
Contributor

@tvm-bot rerun

@tqchen
Copy link
Member

tqchen commented Sep 13, 2024

CI issue should be unblocked by #17371

@CharlieFRuan
Copy link
Contributor

@tvm-bot rerun

@MasterJH5574 MasterJH5574 merged commit 4bc61a1 into apache:main Sep 15, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants