View source: R/activations-losses.R View source: R/.ipynb_checkpoints/activations-losses-checkpoint.R
relu | R Documentation |
A rectified linear unit or RELU = max(0, x) function, and its derivative.
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 RELU(X), or its derivative.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.