I already mention this in ReverseDiff's documentation, but I'm opening this issue to increase visibility and track progress. ReverseDiff has [the same perturbation confusion issue as ForwardDiff](https://github.com/JuliaDiff/ForwardDiff.jl/issues/83). My plan to solve this in ReverseDiff is the same as [my plan to solve this in ForwardDiff](https://github.com/JuliaDiff/ForwardDiff.jl/issues/83#issuecomment-272543897); the tag will be added to the `TrackedArray`/`TrackedReal` types (and possibly the tape types, I'm not sure yet).
Activity
MikeInnes commentedon Jun 28, 2018
Here's a simple test case, if anyone is interested:
(the correct answer is 2x, or 10).
yangky11 commentedon Apr 27, 2021
Hi,
Any luck in fixing this bug?
Link the perturbation-confusion TODO to #45
Take the scalar rules for perturbations the derivative cannot hold
Put broadcasting on Julia's documented custom-broadcast interface (#301)