Created
August 30, 2021 00:19
-
-
Save manuel-delverme/596b6a3b5099b6e1e141772220e660fd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import jax.config | |
import jax.numpy | |
import jax.ops | |
jax.config.update("jax_debug_nans", True) | |
with jax.disable_jit(): | |
x0 = jax.numpy.zeros(1) | |
jax.value_and_grad(lambda x: jax.scipy.special.logsumexp(x))(x0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment