You can do forward-over-reverse (no finite differences required) as described in this thread: Nested AD with Lux etc
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Higher order derivatives/ automatic differentiation | 5 | 697 | December 26, 2023 | |
What is the best way to implement PINN in Julia | 18 | 542 | April 6, 2025 | |
Nested and different AD methods altogether: How to add AD calculations inside my loss function when using neural differential equations? | 9 | 987 | September 28, 2024 | |
Flux PINN 1D Burgers | 11 | 860 | May 23, 2025 | |
Nested AD with Lux etc | 26 | 1277 | May 1, 2024 |