Skip to content

Commit 5e6321c

Browse files
authored
example correction (#347)
1 parent 69d4ed2 commit 5e6321c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ for epoch in 1:100
8282
Flux.update!(opt, model, grad[1])
8383
end
8484

85-
@info (; epoch, train_loss=loss(train_loader), test_loss=loss(test_loader))
85+
@info (; epoch, train_loss=loss(model, train_loader), test_loss=loss(model, test_loader))
8686
end
8787
```

0 commit comments

Comments
 (0)