-
```julia
using Zygote
# https://fluxml.ai/Zygote.jl/latest/adjoints/#Gradient-Reflection-1
isderiving() = false
@adjoint isderiving() = true, _ -> nothing
g(x) = (println("g: ", isderiving()); x)…
-
```julia
using Zygote
isderiving() = false # https://fluxml.ai/Zygote.jl/latest/adjoints/#Gradient-Reflection-1
Zygote.@adjoint isderiving() = true, _ -> nothing
f(x) = (@show isderiving(); sum(x…
-
PSyAD will take a tangent linear code and produce a correct adjoint if the tangent linear code contains a stencil that is an active variable. However this stencil will be a GH_READWRITE or GH_INC sten…
-
We currently disable inner products and adjoints when the space exponent is not equal to 2. However, both can be interpreted in a generalized sense in Banach spaces.
- The inner product can be gene…
-
I am trying to implement the "[shooting method](https://en.wikipedia.org/wiki/Shooting_method)" to solve a simple differential equation (\ddot{x} = -x*(1-x^2) ) as a boundary value problem. I also nee…
-
https://github.com/vpuri3/PDEInterfaces.jl/blob/940aee9cf3decda3583c03c6fbcfeff649daaaae/src/Spaces/TrigonometricPolynomials/Fourier.jl#L333-L367
product is being formed in modal space. not real sp…
-
All adjoint/boundary functional tests are currently in one function [here](https://github.com/OptimalDesignLab/PDESolver.jl/blob/work/test/euler/test_adjoint.jl#L15). Some of the tests are very fast,…
-
Restating my post on https://discourse.mc-stan.org/t/help-write-an-autodiff-handbook/12640/13.
I propose grouping the chapters on ODEs, algebraic equations, and integrals, into one section on impl…
-
Not entirely sure if this should fall under DifferentialEquations.jl but here we go.
I am implementing a NeuralODE using callbacks myself using DifferentialEquations (not using DiffEqFlux atm).
I …
-
## Description
I'm sure Tadej and others have thought of this already but I wanted to write down a neat idea before I forget. I was working on some slides to describe autodiff stuff and realized th…