Open DomCRose opened 1 year ago
xref: https://github.com/JuliaDiff/ChainRules.jl/issues/645#issue-1302826165
Making this since Zygote currently doesn't use the ChainRules rrules for repeat anyway.
Guessing best approach here would be to fix it in ChainRules first then swap Zygote over to the ChainRules rrules.
A useful gist to this end from @mcabbott: https://gist.github.com/mcabbott/80ac43cca3bee8f57809155a5240519f
xref: https://github.com/JuliaDiff/ChainRules.jl/issues/645#issue-1302826165
Making this since Zygote currently doesn't use the ChainRules rrules for repeat anyway.
Guessing best approach here would be to fix it in ChainRules first then swap Zygote over to the ChainRules rrules.
A useful gist to this end from @mcabbott: https://gist.github.com/mcabbott/80ac43cca3bee8f57809155a5240519f