Skip to content

Commit 80af27c

Browse files
Update README.md
1 parent c37fd1f commit 80af27c

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
@@ -39,7 +39,7 @@ def simulator(theta, n_obs=50, scale=1.0):
3939

4040
# Then, we create our BayesFlow setup consisting of a summary and an inference network:
4141
summary_net = bf.networks.InvariantNetwork()
42-
inference_net = bf.networks.InvertibleNetwork(n_params=2)
42+
inference_net = bf.networks.InvertibleNetwork(num_params=2)
4343
amortizer = bf.amortizers.AmortizedPosterior(inference_net, summary_net)
4444

4545
# Next, we connect the `prior` with the `simulator` using a `GenerativeModel` wrapper:

0 commit comments

Comments
 (0)