From 098268697897585f8cd3db29d5ec2f2c68dadc05 Mon Sep 17 00:00:00 2001 From: autodocs Date: Tue, 28 Feb 2017 17:08:59 +0000 Subject: [PATCH] build based on 2de6b06 --- latest/apis/backends.html | 2 +- latest/apis/batching.html | 2 +- latest/apis/storage.html | 6 +++--- latest/contributing.html | 2 +- latest/examples/char-rnn.html | 2 +- latest/examples/logreg.html | 2 +- latest/index.html | 2 +- latest/internals.html | 2 +- latest/models/basics.html | 2 +- latest/models/debugging.html | 2 +- latest/models/recurrent.html | 2 +- latest/models/templates.html | 2 +- latest/search_index.js | 4 ++-- 13 files changed, 16 insertions(+), 16 deletions(-) diff --git a/latest/apis/backends.html b/latest/apis/backends.html index ca2e5c36..a665c8da 100644 --- a/latest/apis/backends.html +++ b/latest/apis/backends.html @@ -150,7 +150,7 @@ Backends - + diff --git a/latest/apis/batching.html b/latest/apis/batching.html index ea72e19a..387e62e6 100644 --- a/latest/apis/batching.html +++ b/latest/apis/batching.html @@ -155,7 +155,7 @@ Batching - + diff --git a/latest/apis/storage.html b/latest/apis/storage.html index 2284e6e9..0ae22814 100644 --- a/latest/apis/storage.html +++ b/latest/apis/storage.html @@ -139,7 +139,7 @@ Storing Models - + @@ -149,8 +149,8 @@ Storing Models

- -Loading and Save Models + +Loading and Saving Models

model = Chain(Affine(10, 20), σ, Affine(20, 15), softmax)
diff --git a/latest/contributing.html b/latest/contributing.html index 0b3fcfae..db8d830e 100644 --- a/latest/contributing.html +++ b/latest/contributing.html @@ -136,7 +136,7 @@ Contributing & Help - + diff --git a/latest/examples/char-rnn.html b/latest/examples/char-rnn.html index 736eec01..8d53761a 100644 --- a/latest/examples/char-rnn.html +++ b/latest/examples/char-rnn.html @@ -139,7 +139,7 @@ Char RNN - + diff --git a/latest/examples/logreg.html b/latest/examples/logreg.html index bb73cd15..6bdb5344 100644 --- a/latest/examples/logreg.html +++ b/latest/examples/logreg.html @@ -139,7 +139,7 @@ Logistic Regression - + diff --git a/latest/index.html b/latest/index.html index 83eda35b..6177bac5 100644 --- a/latest/index.html +++ b/latest/index.html @@ -147,7 +147,7 @@ Home - + diff --git a/latest/internals.html b/latest/internals.html index 3b3a8d6d..8a00b02e 100644 --- a/latest/internals.html +++ b/latest/internals.html @@ -136,7 +136,7 @@ Internals - + diff --git a/latest/models/basics.html b/latest/models/basics.html index dbd0d240..b22e7443 100644 --- a/latest/models/basics.html +++ b/latest/models/basics.html @@ -155,7 +155,7 @@ Model Building Basics - + diff --git a/latest/models/debugging.html b/latest/models/debugging.html index 4c353aec..711e815f 100644 --- a/latest/models/debugging.html +++ b/latest/models/debugging.html @@ -139,7 +139,7 @@ Debugging - + diff --git a/latest/models/recurrent.html b/latest/models/recurrent.html index ba44802a..a3d05658 100644 --- a/latest/models/recurrent.html +++ b/latest/models/recurrent.html @@ -139,7 +139,7 @@ Recurrence - + diff --git a/latest/models/templates.html b/latest/models/templates.html index 4e4d6875..71c3aab8 100644 --- a/latest/models/templates.html +++ b/latest/models/templates.html @@ -155,7 +155,7 @@ Model Templates - + diff --git a/latest/search_index.js b/latest/search_index.js index 1ebfd8b4..44d343ad 100644 --- a/latest/search_index.js +++ b/latest/search_index.js @@ -225,9 +225,9 @@ var documenterSearchIndex = {"docs": [ }, { - "location": "apis/storage.html#Loading-and-Save-Models-1", + "location": "apis/storage.html#Loading-and-Saving-Models-1", "page": "Storing Models", - "title": "Loading and Save Models", + "title": "Loading and Saving Models", "category": "section", "text": "model = Chain(Affine(10, 20), σ, Affine(20, 15), softmax)Since models are just simple Julia data structures, it's very easy to save and load them using any of Julia's existing serialisation formats. For example, using Julia's built-in serialize:open(io -> serialize(io, model), \"model.jls\", \"w\")\nopen(io -> deserialize(io), \"model.jls\")One issue with serialize is that it doesn't promise compatibility between major Julia versions. For longer-term storage it's good to use a package like JLD.using JLD\n@save \"model.jld\" model\n@load \"model.jld\"However, JLD will break for some models as functions are not supported on 0.5+. You can resolve that by checking out this branch.Right now this is the only storage format Flux supports. In future Flux will support loading and saving other model formats (on an as-needed basis)." },