View source: R/activations-losses.R View source: R/.ipynb_checkpoints/activations-losses-checkpoint.R
tanh | R Documentation |
A hyperbolic tangent function, and its derivative.
tanh(X, deriv = FALSE)
X |
A matrix. |
deriv |
Set this to TRUE if you want the derivative instead of the function. |
A matrix representing the tanh(X), or its derivative.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.