-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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][Op]BroadcastToLike CollapseSumLike #1886
Conversation
const Attrs& attrs, | ||
const TypeReporter& reporter) { | ||
CHECK_EQ(types.size(), 3); | ||
reporter->Assign(types[2], types[1]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe see ReduceShapeImpl in https://github.com/dmlc/tvm/blob/master/nnvm/src/top/tensor/reduce.cc for guidance on how the axis params are supposed to work? (Strangely, collapse_sum
itself doesn't use the reduction.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am confused as well - I originally thought I need reduce_shape (which was at another pr), so at the mean time I can get this up.
60e6984
to
83a6ce3
Compare
@tqchen can you give some review? |
please rebase against master after #1934 to make use of the newly introduced API and add test-case to make sure text format works. |
3f75f4f
to
a97b762
Compare
@tqchen I had rebased. |
The changes in the submodule seems to be unintentional and should not be included in this PR |
a97b762
to
72f6f13
Compare
Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from others in the community.