diff --git a/docs/src/saving.md b/docs/src/saving.md index f9bd8cc5c3..a810278d5e 100644 --- a/docs/src/saving.md +++ b/docs/src/saving.md @@ -106,5 +106,5 @@ could also store the current test set loss, so that it's easy to (for example) revert to an older copy of the model if it starts to overfit. ```julia -bson("model-$(now()).bson", model = model, loss = testloss()) +@save "model-$(now()).bson" model loss = testloss() ```