mlx.core.log2

目录

mlx.core.log2#

log2(a: array, /, *, stream: None | Stream | Device = None) array#

Element-wise base-2 logarithm.

参数:

a (array) -- Input array.

返回:

The base-2 logarithm of a.

返回类型:

array