Skip to content

Commit 412ee83

Browse files
no cnf run
1 parent ab9884c commit 412ee83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/examples/normalizing_flows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ where we also pass as an input the desired timespan for which the differential e
7676

7777
First, let's get an array from a normal distribution as the training data
7878

79-
```@example cnf
79+
```julia
8080
data_dist = Normal(6.0f0, 0.7f0)
8181
train_data = rand(data_dist, 1, 100)
8282
```
8383

8484
Now we define a loss function that we wish to minimize
8585

86-
```@example cnf
86+
```julia
8787
function loss(θ)
8888
logpx, λ₁, λ₂ = ffjord_mdl(train_data, θ)
8989
-mean(logpx)

0 commit comments

Comments
 (0)