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/05/23 08:13:50 UTC
[GitHub] sxjscience opened a new issue #11031: Use dtype=int for the indices
returned by TopK
sxjscience opened a new issue #11031: Use dtype=int for the indices returned by TopK
URL: https://github.com/apache/incubator-mxnet/issues/11031
The dtype of `ret_indices` in "topk" is currently real_t. Should we revise it to `int` to avoid possible loss of precision? (https://github.com/apache/incubator-mxnet/blob/master/src/operator/tensor/ordering_op-inl.h#L432)
----------------------------------------------------------------
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