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][[PASS] ForwardRewrite pass. #2124

Merged
merged 1 commit into from
Nov 16, 2018
Merged

[RELAY][[PASS] ForwardRewrite pass. #2124

merged 1 commit into from
Nov 16, 2018

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented Nov 16, 2018

This PR adds a common pattern pass called ForwardRewrite, which recursively applies a rewriting rule given by an Op att. This pattern is useful for cases like layout transform or dtype change. This PR consolidates part of FoldScaleAxis into this pass as an example.

@tqchen
Copy link
Member Author

tqchen commented Nov 16, 2018

cc @merrymercy @ZihengJiang @jroesch

@tqchen tqchen changed the title [RELAY][[PASS] Consolidate ForwardRewrite pass. [RELAY][[PASS] ForwardRewrite pass. Nov 16, 2018
@tqchen tqchen merged commit 59c70a0 into apache:master Nov 16, 2018
FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
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.

1 participant