DifferentiationInterface.jl icon indicating copy to clipboard operation
DifferentiationInterface.jl copied to clipboard

fix: respect array type in wrong-mode pushforward/pullback

Open gdalle opened this issue 11 months ago • 2 comments

DI source

  • In pushforward/pullback, give x/y as a first argument to the map over cartesian indices. This allows array types (e.g. static or GPU) to be preserved.

gdalle avatar Nov 10 '24 07:11 gdalle