jax.numpy.log2

Contents

jax.numpy.log2#

jax.numpy.log2(x, /)[source]#

Base-2 logarithm of x.

LAX-backend implementation of numpy.log2().

Original docstring below.

Parameters:

x (array_like) – Input values.

Returns:

y – Base-2 logarithm of x. This is a scalar if x is a scalar.

Return type:

ndarray