dsoftplus: Default Softplus Activation Function

View source: R/softplus.R

dsoftplusR Documentation

Default Softplus Activation Function

Description

Default Softplus Activation Function

Usage

dsoftplus(x)

d2softplus(x)

d3softplus(x)

d4softplus(x)

Arguments

x

numeric vector

Value

numeric vector

Author(s)

Matthew L. Fidler

See Also

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

Examples


dsoftplus(c(-1, 0, 1, 2))

# You can use rxode2 too:

r <- rxode2({
 s1 <- dsoftplus(time)
})

e <- et(c(-1, 0, 1, 2))

rxSolve(r, e)


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