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 2019/03/07 01:44:50 UTC

[GitHub] [incubator-mxnet] anirudhacharya commented on issue #14262: Fix NaN value comparisons in relu, max and min ops

anirudhacharya commented on issue #14262: Fix NaN value comparisons in relu, max and min ops
URL: https://github.com/apache/incubator-mxnet/pull/14262#issuecomment-470349303
 
 
   > @anirudhacharya I'm not sure if relu grad should act like that. As a sanity check, consider if nan is larger than or smaller than 0.
   
   nan compared to any number is always `False`. `nan > 0` -> `False` and `nan < 0` -> `False`
   
   Ref - https://stackoverflow.com/questions/49011370/nan-propagation-and-ieee-754-standard/49040225
   
   But there are languages and libraries which consider nan to be greater than any number even np.inf.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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