-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN caused by tanh_fast
#407
Labels
Comments
Err may be this should be raised to |
I think that's a stupid bug: There's a test which should use a constant for Lines 776 to 784 in 886b34c
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FluxML/Flux.jl#1776 subsitutes
tanh
bytanh_fast
, howeer, the latter givesNaN
for large numbers:I am on Julia 1.7.2 and Flux 0.13.
NaN
would then propagate down the network....The text was updated successfully, but these errors were encountered: