Skip to content

Commit

Permalink
Autoformat files
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris committed Sep 17, 2024
1 parent ff39642 commit 16ec46d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/developer_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ PyRenew Principles
- Using default site names in a ``RandomVariable`` is discouraged. Only use default site names at the ``Model`` level.
- Use ``DeterministicVariable``\ s instead of constants within a model.

- `scan` conventions
- `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``
- Use ``numpyro.scan`` for any scan whose the iterations are stochastic, i.e. the iterations potentially include calls to ``RandomVariable.sample()`` or ``numpyro.sample``

- Multidimensional array conventions

Expand Down

0 comments on commit 16ec46d

Please sign in to comment.