Skip to content
Discussion options

You must be logged in to vote

Hi - this is a common issue with gradients of functions that use jnp.where. You can find some information on this issue and how to work around it here: https://jax.readthedocs.io/en/latest/faq.html#gradients-contain-nan-where-using-where

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mariogeiger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants