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

rrule for map

Open CarloLucibello opened this issue 3 years ago • 5 comments

There used to be a rrule for map, introduced here https://github.com/JuliaDiff/ChainRules.jl/pull/56, but I can't find it anymore.

Related to https://github.com/FluxML/Zygote.jl/pull/842

CarloLucibello avatar Dec 01 '20 10:12 CarloLucibello

Using git bisect I can see that it was removed from system in commit: https://github.com/JuliaDiff/ChainRules.jl/commit/02e7857e34b5c01067a288262f69cfcb9fce069b

gxyd avatar Dec 01 '20 10:12 gxyd

See https://github.com/JuliaDiff/ChainRulesCore.jl/issues/68, we currently lack a proper way for rrules to call back into the AD system, so ChainRules can't really deal with higher-order functions yet.

simeonschaub avatar Dec 01 '20 10:12 simeonschaub

Xref https://github.com/JuliaDiff/ChainRules.jl/issues/222

nickrobinson251 avatar Dec 01 '20 10:12 nickrobinson251

#222 is the version of this that we can without doing https://github.com/JuliaDiff/ChainRulesCore.jl/issues/68 first.

oxinabox avatar Dec 01 '20 14:12 oxinabox

No longer blocked as of https://github.com/JuliaDiff/ChainRulesCore.jl/pull/363

mzgubic avatar Jun 22 '21 12:06 mzgubic