sxjscience commented on issue #10085: Topk op cannot run!
URL: 
https://github.com/apache/incubator-mxnet/issues/10085#issuecomment-372562351
 
 
   It's because the first argument is set as `_`, which gives `req[0]=kNullOp`. 
If you only needs the indices, a temporary workaround is to use `inds = 
mx.sym.topk(a, axis=-1, k=5, ret_typ='indices', is_ascend=False)`

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

Reply via email to