gaurav-arya / StochasticAD.jl

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

Document StochasticAD.propagate #95

Closed gaurav-arya closed 8 months ago

gaurav-arya commented 11 months ago

This is a useful function for handling discrete constructs (if statements etc.) that aren't automatically handled, so it would be nice to document.

We could add an example too, e.g. length(repr(x)) is a fun one

gaurav-arya commented 8 months ago

Somewhat resolved by #105