chainerx.log

chainerx.log(x)

Natural logarithm, element-wise.

Parameters

x (ndarray) – Input array.

Returns

Returned array: \(y = \ln x\).

Return type

ndarray

Note

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

See also

numpy.log