chainerx.log1p

chainerx.log1p(x)

Natural logarithm of one plus the input, element-wise.

Parameters

x (ndarray) – Input array.

Returns

Returned array: \(y = \log(1 + x)\).

Return type

ndarray

Note

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

See also

numpy.log1p