Fix lack of x

This commit is contained in:
Jason Wu 2019-07-02 13:15:54 -04:00 committed by GitHub
parent 5689b39538
commit b24e05bb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ While one could change your activation function (e.g. to use `0.01f0x`) to avoid
the idiomatic (and safe way) is to use `oftype`.
```
leaky_tanh(x) = oftype(x/1, 0.01) + tanh(x)
leaky_tanh(x) = oftype(x/1, 0.01)x + tanh(x)
```