You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/10/21 05:05:37 UTC

[GitHub] [incubator-mxnet] xidulu commented on issue #19361: [RFC] Denormal floating point values handling

xidulu commented on issue #19361:
URL: https://github.com/apache/incubator-mxnet/issues/19361#issuecomment-713305611


   @szha 
   In gluon.distribution, floating number of very small value are often clipped to a minimum value to avoid numerical issue in downstream tasks, e.g.
   https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/probability/distributions/utils.py#L164-L172
   
   The clip is very necessary, otherwise tons of NaN would come up when very small value are fed into OPs like `log`. 


----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org