netket.nn.log_sigmoid

netket.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 (Any) – input array

Return type

Any