Skip to content

Commit 7009aeb

Browse files
committed
fix: README - minimal example
Outdated call to `bf.simulation.GenerativeModel`, requires `simulation_is_batched` argument
1 parent 3b196c6 commit 7009aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def prior(D=2, mu=0., sigma=1.0):
7373
Then, we connect the `prior` with the `simulator` using a `GenerativeModel` wrapper:
7474

7575
```python
76-
generative_model = bf.simulation.GenerativeModel(prior, simulator)
76+
generative_model = bf.simulation.GenerativeModel(prior, simulator, simulator_is_batched=False)
7777
```
7878

7979
Next, we create our BayesFlow setup consisting of a summary and an inference network:

0 commit comments

Comments
 (0)