You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/13 06:32:03 UTC

[GitHub] chinakook opened a new issue #10085: Topk op cannot run!

chinakook opened a new issue #10085: Topk op cannot run!
URL: https://github.com/apache/incubator-mxnet/issues/10085
 
 
   When testing
   ```python
   a = mx.sym.var("data", shape=(6,7,8))
   adata= nd.random.uniform(shape=(6,7,8), ctx=mx.gpu(0))
   _, inds = mx.sym.topk(a, axis=-1, k=5, ret_typ='both', is_ascend=False)
   exe=inds.bind(mx.gpu(0), {'data':adata})
   exe.forward()
   ```
   It saids ``` src/operator/tensor/./ordering_op-inl.h:320: Check failed: req[0] == kWriteTo (0 vs. 1) TopK does not support inplace ``` @sxjscience 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services