Skip to content

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