We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9f566 commit 61ad437Copy full SHA for 61ad437
docs/src/saving.md
@@ -10,7 +10,11 @@ Save a model:
10
julia> using Flux
11
12
julia> model = Chain(Dense(10, 5, NNlib.relu), Dense(5, 2), NNlib.softmax)
13
-Chain(Dense(10, 5, NNlib.relu), Dense(5, 2), NNlib.softmax)
+Chain(
14
+ Dense(10, 5, relu), # 55 parameters
15
+ Dense(5, 2), # 12 parameters
16
+ NNlib.softmax,
17
+) # Total: 4 arrays, 67 parameters, 524 bytes.
18
19
julia> using BSON: @save
20
@@ -27,7 +31,12 @@ julia> using BSON: @load
27
31
julia> @load "mymodel.bson" model
28
32
29
33
julia> model
30
34
35
36
37
38
39
+
40
```
41
42
Models are just normal Julia structs, so it's fine to use any Julia storage
0 commit comments