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

Research package for automatic differentiation of programs containing discrete randomness.

Results 21 StochasticAD.jl issues
Sort by recently updated
recently updated
newest added

Hi there, first of all, thanks for this great package. I'm trying to understand how StochasticAD integrates with Zygote and I ran into a problem when trying to differentiate a...

Hi there! I've been trying to implement a one hot encoding using StochasticAD. So far, I've failed 🥲. I think it essentially boils down to [this TODO](https://github.com/gaurav-arya/StochasticAD.jl/blob/d08156a397f20477f25bf6bef86d7257e7160f08/src/general_rules.jl#L235) in the src....

The internal global RNG is undesirable because it makes pruning non-deterministic even if the user fixes a seed for the RNGs they control. We could fix this by splitting off...

x-ref #128. @GuusAvis example: ```julia using StochasticAD using Distributions function f(value_1, value_2, rand_var) if value_1 < value_2 return (value_1 + rand(rand_var), value_2) else return (value_1, value_2 + rand(rand_var)) end end...

Added two new tests of propagate that check if finite perturbations returned by functions upon normal calls are treated correctly by `propagate`. 1. Adding two stochastic triples together, like in...

Added type testing for some kwargs in `propagate`, and adjusted a test that I think was already failing because of a wrong type but now it no longer fails quietly....

Hello! I have been running into the following problem. When I use `propagate` to pass a stochastic triple to a function, but in that function there is a second stochastic...

This pull request sets the compat entry for the `Enzyme` package to `0.12`. This keeps the compat entries for earlier versions. Note: I have not tested your package with this...

Hello! I'm trying to use the `propagate` function to extract derivatives from some Monte Carlo simulations. However, I noticed that the function does not behave as I would expect in...