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

FillArrays

Open willtebbutt opened this issue 5 years ago • 2 comments

There are currently instances when we want to use arrays of zeros in which size information is retained - this is not something supported by the Zero differential, but which is supported by FillArrays.jl's Zeros type. I would be nice to use this here, but are there perhaps issues with it not defining setindex?

Related to #15

willtebbutt avatar Jun 06 '19 16:06 willtebbutt

FWIW, I'm very keen on having first-class AD support for FillArrays as I use them extensively in Stheno.jl, and Zygote.jl now makes use of them internally rather than rolling its own fill type.

willtebbutt avatar Jun 06 '19 16:06 willtebbutt

tr is an example that should be FIllArrays. Zygote does so.

oxinabox avatar Apr 28 '20 16:04 oxinabox