brainpy.math.softplus#

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

Softplus activation function.

Computes the element-wise function

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

x (ArrayType) – The input array.