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

Make sum of bool arrays nondiffernetiable

Open oxinabox opened this issue 5 years ago • 0 comments

This matches to https://github.com/FluxML/Zygote.jl/pull/794

Fixing this in chainrules won't actually fix it in Zygote becuase Zygote defines sum(::AbstractArray) with a better definition than what ChainRules has right now, that will always take precidence.

oxinabox avatar Sep 16 '20 12:09 oxinabox