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][Op]BroadcastToLike CollapseSumLike #1886

Merged
merged 4 commits into from
Oct 22, 2018

Conversation

MarisaKirisame
Copy link
Contributor

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.

const Attrs& attrs,
const TypeReporter& reporter) {
CHECK_EQ(types.size(), 3);
reporter->Assign(types[2], types[1]);
Copy link
Contributor

@slyubomirsky slyubomirsky Oct 11, 2018

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.)

Copy link
Contributor Author

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.

@MarisaKirisame
Copy link
Contributor Author

@tqchen can you give some review?

@tqchen
Copy link
Member

tqchen commented Oct 20, 2018

please rebase against master after #1934 to make use of the newly introduced API and add test-case to make sure text format works.

@MarisaKirisame
Copy link
Contributor Author

@tqchen I had rebased.

@tqchen
Copy link
Member

tqchen commented Oct 21, 2018

The changes in the submodule seems to be unintentional and should not be included in this PR

@tqchen tqchen merged commit c2b3615 into apache:master Oct 22, 2018
@MarisaKirisame MarisaKirisame deleted the broadcast_collapse_like branch October 22, 2018 16:52
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants