This commit is contained in:
Mike J Innes 2017-02-01 19:32:47 +05:30
parent 2ae4a23efe
commit f8a18ef3c5
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ You may recognise this as being equivalent to
```julia
Chain(
Affine(10, 20), σ
Affine(20, 15)), softmax
Affine(20, 15), softmax)
```
given that it's just a sequence of calls. For simple networks `Chain` is completely fine, although the `@net` version is more powerful as we can (for example) reuse the output `l1` more than once.