Merge pull request #276 from kleskjr/patch-1

Solves Issue #262
This commit is contained in:
Mike J Innes 2018-06-06 17:33:49 +01:00 committed by GitHub
commit 422b31c8f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ add the result to the overall loss.
For example, say we have a simple regression.
```julia
using Flux: crossentropy
m = Dense(10, 5)
loss(x, y) = crossentropy(softmax(m(x)), y)
```