Skip to content

Commit

Permalink
docs: fix readme #37)
Browse files Browse the repository at this point in the history
* docs: fix typos on Readme

* docs: fix another typo
  • Loading branch information
alonfnt authored Feb 25, 2024
1 parent d3afa9e commit 37edcf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ opt_state = optimizer.init(ys, params)
ori_key = jax.random.key(42)
for step in range(20):
key = jax.random.fold_in(ori_key, step)
new_params, (xs, mu, std) = optimizer.sample(key, opt_state)
new_params = optimizer.sample(key, opt_state)
y_new = f(**new_params)
opt_state = optimizer.fit(opt_state, y_new, new_params)
```
Expand Down

0 comments on commit 37edcf2

Please sign in to comment.