Skip to content

Commit

Permalink
More formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris authored Sep 17, 2024
1 parent 33bcb6f commit ffbfbba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/developer_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PyRenew Principles
- Use ``DeterministicVariable``\ s instead of constants within a model.

- ``scan`` conventions

- Use ``jax.lax.scan`` for any scan whose iterations are deterministic, i.e. iterations contain no internal calls to ``RandomVariable.sample()`` or ``numpyro.sample()``.
- Use ``numpyro.scan`` for any scan whose the iterations are stochastic, i.e. the iterations potentially include calls to ``RandomVariable.sample()`` or ``numpyro.sample()``

Expand Down

0 comments on commit ffbfbba

Please sign in to comment.