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

[Refactor] Clean up type relations that are declared as template for no reason #10236

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

masahi
Copy link
Member

@masahi masahi commented Feb 13, 2022

During investigation of #10235, I found most of type rel in relay/op/nn/convolution.h are unnecessarily declared as template, probably the result of repeated copy-pasting of existing code. This is not only embarrassing, but also extremely annoying when making a simple modification to one of type rels: Since relay/op/nn/convolution.h is included in multiple *.cc file, it causes totally unnecessary build. I fixed all of them in anger 🤦‍♂️

@junrushao1994 @comaniac

@masahi masahi changed the title [Relay] Clean up conv op type relations that are declared as template for no reason [Relay] Clean up type relations that are declared as template for no reason Feb 13, 2022
@masahi masahi changed the title [Relay] Clean up type relations that are declared as template for no reason [Refactor] Clean up type relations that are declared as template for no reason Feb 14, 2022
@jroesch jroesch merged commit be17697 into apache:main Feb 15, 2022
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
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.

2 participants