Created
July 11, 2022 12:04
-
-
Save mwitiderrick/788f54c0d0b865dc98f3f02491929da7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from jax.config import config | |
config.update("jax_debug_nans", True) | |
jnp.divide(0.0,0.0) | |
# FloatingPointError: invalid value (nan) encountered in div |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment