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 2022/03/10 09:14:20 UTC

[GitHub] [incubator-mxnet] mazeltovlee commented on issue #20947: Inconsistent behavior of mx.sym.LeakyReLU between CPU and GPU

mazeltovlee commented on issue #20947:
URL: https://github.com/apache/incubator-mxnet/issues/20947#issuecomment-1063832341


   I also find giving the LeakyReLU `NaN` will also trigger inconsistency: given NaN, LeakyReLU in GPU mode will output NaN while it outputs 0 in CPU mode. I seems that, given a NaN input, the expected behavior should be NaN instead of 0. But for the -inf input, the expected behavior should be 0 instead of NaN?


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

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org

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