brainpy.math.activations.softplus#

brainpy.math.activations.softplus(x)[source]#

Softplus activation function.

Computes the element-wise function

\[\mathrm{softplus}(x) = \log(1 + e^x)\]
Parameters

x (JaxArray, jnp.ndarray) – The input array.