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

[Frontend][MXNet] Fix default value for is_ascend in topk #7568

Merged
merged 2 commits into from
Mar 5, 2021

Conversation

trevor-m
Copy link
Contributor

@trevor-m trevor-m commented Mar 2, 2021

MXNet uses False as the default value for is_ascend in topk. The mxnet frontend was using true as the default value.

https://mxnet.apache.org/versions/1.6/api/r/docs/api/mx.nd.topk.html

is.ascend | boolean, optional, default=0. Whether to choose k largest or k smallest elements. Top K largest elements will be chosen if set to false.

@masahi masahi merged commit b9adce2 into apache:main Mar 5, 2021
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
* Use correct default value of False for is_ascend

* Add unit test for default topk is_ascend value
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
* Use correct default value of False for is_ascend

* Add unit test for default topk is_ascend value
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.

3 participants