dSELU: Derivative of the Scaled Exponential Linear Unit (SELU)...

View source: R/selu.R

dSELUR Documentation

Derivative of the Scaled Exponential Linear Unit (SELU) Activation Function

Description

Derivative of the Scaled Exponential Linear Unit (SELU) Activation Function

Usage

dSELU(x)

Arguments

x

A numeric vector. All elements must be finite and non-missing.

Value

A numeric vector where the derivative of the SELU function has been applied to each element of x.

Author(s)

Matthew Fidler

See Also

Other Activation Functions: ELU(), GELU(), PReLU(), ReLU(), SELU(), Swish(), dELU(), dGELU(), dPReLU(), dReLU(), dSwish(), dlReLU(), dsoftplus(), lReLU(), softplus()

Examples

dSELU(c(-1, 0, 1, 2))
# Can also be used in rxode2:
x <- rxode2({
  r=dSELU(time)
})
e <- et(c(-1, 0, 1, 2))
rxSolve(x, e)

nlmixr2/rxode2 documentation built on Jan. 11, 2025, 8:48 a.m.