unnecessary

This commit is contained in:
Mike J Innes 2018-02-17 11:22:37 +00:00
parent e5791bc5f6
commit dda545a24a
1 changed files with 1 additions and 3 deletions

View File

@ -39,9 +39,7 @@ m = Chain(
Dense(128, 32, relu),
Dense(32, 10), softmax)
ps = params(m)
loss(x, y) = crossentropy(m(x), y) + sum(norm, ps)
loss(x, y) = crossentropy(m(x), y) + sum(norm, params(m))
loss(rand(28^2), rand(10))
```