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/20 17:49:44 UTC
[GitHub] sxjscience opened a new issue #10176: [Operator] Potential indexing problem of SequenceMask, SequenceLast operators
sxjscience opened a new issue #10176: [Operator] Potential indexing problem of SequenceMask, SequenceLast operators
URL: https://github.com/apache/incubator-mxnet/issues/10176
The SequenceMask, SequenceLast operators directly use `static_cast<int>` to convert the DType indices to int https://github.com/apache/incubator-mxnet/blob/master/src/operator/sequence_mask-inl.h#L93 . This may cause problems when the indices are something like `1.999999999`. We could consider to revise this.
----------------------------------------------------------------
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