Very Little typo.
This commit is contained in:
parent
a0fd91b866
commit
ee630a8566
@ -129,7 +129,7 @@ linear2 = linear(3, 2)
|
|||||||
|
|
||||||
model(x) = linear2(σ.(linear1(x)))
|
model(x) = linear2(σ.(linear1(x)))
|
||||||
|
|
||||||
model(x) # => 2-element vector
|
model(rand(5)) # => 2-element vector
|
||||||
```
|
```
|
||||||
|
|
||||||
Another (equivalent) way is to create a struct that explicitly represents the affine layer.
|
Another (equivalent) way is to create a struct that explicitly represents the affine layer.
|
||||||
|
Loading…
Reference in New Issue
Block a user