View source: R/activations-losses.R View source: R/.ipynb_checkpoints/activations-losses-checkpoint.R
leaky.relu | R Documentation |
A "leaky" RELU function, and derivative. The slope in the negative region is 0.1.
leaky.relu(X, deriv = FALSE)
X |
A matrix. |
deriv |
Set this to TRUE if you want the derivative instead of the function. |
A matrix representing the leaky RELU(X), or its derivative.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.