mlx.core.log2

目錄

mlx.core.log2#

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

Element-wise base-2 logarithm.

參數:

a (array) -- 輸入陣列。

回傳值:

The base-2 logarithm of a.

回傳值型別:

array