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

BroadcastedDistribution

Open mohdibntarek opened this issue 6 years ago • 1 comments

Sometimes it is useful to have a broadcasted version of a distribution that is treated as a multivariate distribution. This is critical for performance when doing reverse AD using Tracker since we want to avoid scalar arithmetic. Defining an efficient adjoint for the BroadcastedDistribution will therefore lead to a significant improvement in speed.

mohdibntarek avatar Nov 01 '19 22:11 mohdibntarek

I think it's relatively straightforward to make BroadcastedDistribution GPU compatible as well.

xukai92 avatar Jan 12 '20 17:01 xukai92