chainer.functions.log2

chainer.functions.log2(x)[source]

Elementwise logarithm function to the base 2.

\[y_i = \log_2 x_i.\]
Parameters

x (Variable or N-dimensional array) – Input variable.

Returns

Output variable.

Return type

Variable