[GitHub] sxjscience commented on issue #10085: Ordering operators do not support kNullOp

2018-03-13 Thread GitBox
sxjscience commented on issue #10085: Ordering operators do not support kNullOp
URL: 
https://github.com/apache/incubator-mxnet/issues/10085#issuecomment-372845417
 
 
   Sorry that I'm too busy with other stuffs. Can anyone help solve the bug? If 
not, I will solve it later.


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


[GitHub] sxjscience commented on issue #10085: Ordering operators do not support kNullOp

2018-03-13 Thread GitBox
sxjscience commented on issue #10085: Ordering operators do not support kNullOp
URL: 
https://github.com/apache/incubator-mxnet/issues/10085#issuecomment-372565456
 
 
   @chinakook You can get both values using the following code:
   ```python
   values, inds = mx.sym.topk(a, axis=-1, k=5, ret_typ='both', is_ascend=False)
   exe=mx.sym.Group([values, inds]).bind(mx.gpu(0), {'data':adata})
   exe.forward()
   ```
   The problem is that the following is not supported:
   ```
   _, inds = mx.sym.topk(a, axis=-1, k=5, ret_typ='both', 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


[GitHub] sxjscience commented on issue #10085: Ordering operators do not support kNullOp

2018-03-13 Thread GitBox
sxjscience commented on issue #10085: Ordering operators do not support kNullOp
URL: 
https://github.com/apache/incubator-mxnet/issues/10085#issuecomment-372563935
 
 
   @chinakook I'll fix it tomorrow.


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


[GitHub] sxjscience commented on issue #10085: Ordering operators do not support kNullOp

2018-03-13 Thread GitBox
sxjscience commented on issue #10085: Ordering operators do not support kNullOp
URL: 
https://github.com/apache/incubator-mxnet/issues/10085#issuecomment-372563598
 
 
   The error also occurs in other ordering operators like Sort, ArgSort. 
https://github.com/apache/incubator-mxnet/blob/master/src/operator/tensor/ordering_op-inl.h#L320-L321


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