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

[Relay] add redirecting operation to dataflow pattern graph #15392

Merged
merged 2 commits into from Aug 4, 2023

Conversation

kfeng123
Copy link
Contributor

@kfeng123 kfeng123 commented Jul 24, 2023

This PR adds the redirecting operation for dataflow pattern, which can redirect a WildcardPattern to any other DFPattern. With the redirecting operation, one can construct recursive dataflow pattern. Some test cases are added.

This PR is part of the pre-RFC

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jul 24, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@kfeng123 kfeng123 force-pushed the allow_pattern_recursion_in_python branch from aae21ec to 75279fb Compare July 25, 2023 08:00
@kfeng123 kfeng123 marked this pull request as draft July 31, 2023 03:28
@kfeng123 kfeng123 force-pushed the allow_pattern_recursion_in_python branch from 75279fb to 9875e8e Compare July 31, 2023 07:52
@kfeng123 kfeng123 changed the title [Relay] add reset_args method to CallPattern, and add reset_left and reset_right method to AltPattern [Relay] add redirecting operation to dataflow pattern graph Jul 31, 2023
@kfeng123 kfeng123 marked this pull request as ready for review July 31, 2023 11:13
@kfeng123
Copy link
Contributor Author

kfeng123 commented Aug 1, 2023

cc @masahi

@masahi masahi merged commit 9bcf0bc into apache:main Aug 4, 2023
19 of 20 checks passed
@kfeng123 kfeng123 deleted the allow_pattern_recursion_in_python branch August 11, 2023 09:14
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.

None yet

3 participants