We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5116a commit cba480dCopy full SHA for cba480d
lectures/kesten_processes.md
@@ -742,7 +742,7 @@ vectorized_single_draw = vmap(
742
```{code-cell} ipython3
743
@jit
744
def generate_draws(
745
- key=random.PRNGKey(123),
+ seed=0,
746
μ_a=-0.5,
747
σ_a=0.1,
748
μ_b=0.0,
@@ -760,6 +760,7 @@ def generate_draws(
760
Array of M draws
761
"""
762
# Create M different random keys for parallel execution
763
+ key = random.PRNGKey(seed)
764
keys = random.split(key, M)
765
766
draws = vectorized_single_draw(
0 commit comments