leezu opened a new issue #12197: topk regression URL: https://github.com/apache/incubator-mxnet/issues/12197 ## Description https://github.com/apache/incubator-mxnet/pull/12085/ introduced a bug into the topk operator. Below code example will output `[ 274232. 179574. 274233. 274231.]` with mxnet-cu90==1.3.0b20180810 but `[ 274232. 179574. 274232. 274232.]` with mxnet-cu90==1.3.0b20180814. @szha @ciyongch @eric-haibin-lin ## Steps to reproduce (Paste the commands you ran that produced the error.) 1. `wget https://s3.amazonaws.com/lllausen-public/topk/array.npy` 2. `python3 -c 'import mxnet as mx;import numpy as np; print(mx.nd.topk(mx.nd.array(np.load("/tmp/array.npy")), k=4)[80])'`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services