DifferentiationInterface.jl
DifferentiationInterface.jl copied to clipboard
fix: respect array type in wrong-mode pushforward/pullback
DI source
- In
pushforward/pullback, givex/yas a first argument to themapover cartesian indices. This allows array types (e.g. static or GPU) to be preserved.