You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your answer. Actually, I would only need to be able to evaluate the function $(\theta, x) \mapsto \mathcal{D}u_\theta (x) - f(x)$. Does it make it any easier?
Question❓
Hi,
I have a question regarding how to extract the residual vector in NeuralPDEs.jl. The loss function in PINNs is often written as:
where$\theta$ are the neural network parameters. The residuals are typically defined as:
Is there a way to obtain the mapping from$\theta$ to the vector $[r_1(\theta), ..., r_N(\theta)]$ using NeuralPDEs.jl?
For reference, I am using the following tutorial: NeuralPDE GPU Tutorial. It seems like I should have all the necessary information after:
However, I don't know how to extract the residual vector directly. Any guidance would be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered: