Derivative of the Swish Activation Function
dSwish(x)
x
: A numeric vector. All elements must be finite and non-missing.A numeric vector where the derivative of the SELU function has been applied to each element of x
.
dSwish(c(-1, 0, 1, 2)) # Can also be used in rxode2: x <- rxode2({ r <- dSwish(time) }) e <- et(c(-1, 0, 1, 2)) rxSolve(x, e)
Other Activation Functions: ELU()
, GELU()
, PReLU()
, ReLU()
, SELU()
, Swish()
, dELU()
, dGELU()
, dPReLU()
, dReLU()
, dSELU()
, dlReLU()
, dsoftplus()
, lReLU()
, softplus()
Matthew Fidler
Useful links