Skip to content

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 force-pushed the conv-typrel-cleanup branch from deac9d1 to 33a2950 Compare February 13, 2022 10:58
@masahi masahi force-pushed the conv-typrel-cleanup branch from 33a2950 to 8dca6ee Compare February 13, 2022 20:11
@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