ChainRulesCore.jl
ChainRulesCore.jl copied to clipboard
add comparisons between tangents and numbers
useful for tests. I'm not sure whether this is a good idea, but it seems reasonable enough. @Keno
Xref https://github.com/JuliaDiff/ChainRulesCore.jl/issues/504
We removed some == methods because they were heavily invalidating https://github.com/JuliaDiff/ChainRulesCore.jl/issues/523
so it might be worth checking what the impact is here
we should definitely check in validations, but I think defining == for concrete thunk subtypes should be much better on that front.