gaurav-arya / StochasticAD.jl

Research package for automatic differentiation of programs containing discrete randomness.
MIT License
198 stars 16 forks source link

Add general smoothing rules #50

Closed gaurav-arya closed 1 year ago

gaurav-arya commented 1 year ago

I really need to get around to adding general rules for smoothed stochastic derivatives, beyond the special case of the particle filter. This issue is for rules added through ForwardDiff / ChainRules, rather than via a new triple backend, which might therefore have more limited support for discrete constructs such as array indexing.