Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhairya Gandhi committed Sep 27, 2019
1 parent 12bc061 commit a98a1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/saving.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ You can even store optimiser state alongside the model, to resume training
exactly where you left off.

```julia
opt = ADAM(params(model))
opt = ADAM()
@save "model-$(now()).bson" model opt
```

0 comments on commit a98a1b8

Please sign in to comment.