chainerx.log2

chainerx.log2(x)

Base 2 logarithm, element-wise.

Parameters

x (ndarray) – Input array.

Returns

Returned array: \(y = \log_{2} x\).

Return type

ndarray

Note

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

See also

numpy.log2