jax.nn.log_sigmoid

Contents

jax.nn.log_sigmoid#

jax.nn.log_sigmoid(x)[source]#

Log-sigmoid activation function.

Computes the element-wise function:

\[\mathrm{log\_sigmoid}(x) = \log(\mathrm{sigmoid}(x)) = -\log(1 + e^{-x})\]
Parameters:

x (ArrayLike) – input array

Returns:

An array.

Return type:

Array

See also

sigmoid()