dPReLU | R Documentation |
Derivatives Parametric ReLU Activation Function
dPReLU(x, alpha = 1)
dPReLUa(x, alpha = 1)
dPReLUa1(x, alpha = 1)
x |
A numeric vector. All elements must be finite and non-missing. |
alpha |
A numeric scalar. All elements must be finite and non-missing. |
A numeric vector where the derivative(s) of the ELU function has been applied
to each element of x
.
Matthew L. Fidler
Other Activation Functions:
ELU()
,
GELU()
,
PReLU()
,
ReLU()
,
SELU()
,
Swish()
,
dELU()
,
dGELU()
,
dReLU()
,
dSELU()
,
dSwish()
,
dlReLU()
,
dsoftplus()
,
lReLU()
,
softplus()
dPReLU(c(-1, 0, 1, 2), 2)
dPReLUa(c(-1, 0, 1, 2), 2)
dPReLUa1(c(-1, 0, 1, 2), 2)
# Can also be used in rxode2:
r <- rxode2({
r1=dPReLU(time, 2)
r2a=dPReLUa(time, 2)
ra=dPReLUa1(time, 2)
})
e <- et(c(-1, 0, 1, 2))
rxSolve(r, e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.