-
Notifications
You must be signed in to change notification settings - Fork 32
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
Tanh numerical instability #7
Comments
Thank you for raising this. We will look into it. In the meantime, you can probably get rid of the NaNs by using
|
Closing this issue - When the output of the bijector is outside a certain range, it is unfortunately not possible to recover the input within machine precision. We have added a comment to the docstring of the |
will this be look at again, it is the reason I am still using tensorflow probability over distrax |
Hi, any updates on this? |
Tanh bijector with Transformed seems to be less numerically stable than their tfp counterparts:
Prints nans.
Prints regular numbers.
The text was updated successfully, but these errors were encountered: