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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
