-
Hi, I am struggling to understand the following issue: For my project, however, I need to be able to evaluate both branches and combined in a way that avoids nan grads. See the notebook below for details. Background: Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It sounds like this FAQ entry will be relevant: Gradients contain NaN when using |
Beta Was this translation helpful? Give feedback.
-
Thank you. This helped me fixing it. I didn't realize that branch1 was unstable in the domain of branch0.
notebook below in case anyone finds this in the future. |
Beta Was this translation helpful? Give feedback.
It sounds like this FAQ entry will be relevant: Gradients contain NaN when using
where
.