chainerx.sigmoid

chainerx.sigmoid(x)

Element-wise sigmoid logistic function.

Parameters

x (ndarray) – Input array.

Returns

Returned array: \(f(x) = (1 + \exp(-x))^{-1}\).

Return type

ndarray

Note

During backpropagation, this function propagates the gradient of the output array to the input array x.