Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
slinderman authored Nov 14, 2022
1 parent 9228de7 commit a4fac29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ for the case of an HMM with Gaussian emissions. (See [this
notebook](https://github.com/probml/dynamax/blob/main/docs/notebooks/hmm/gaussian_hmm.ipynb)
for a runnable version of this code.)

``` {.python}
```python
import jax.numpy as jnp
import jax.random as jr
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -147,7 +147,7 @@ print(post.smoothed_probs.shape) # (1000, 3)
JAX allows you to easily vectorize these operations with `vmap`.
For example, you can sample and fit to a batch of emissions as shown below.

``` {.python}
```python
from functools import partial
from jax import vmap

Expand Down

0 comments on commit a4fac29

Please sign in to comment.