mlx.core.expm1

目錄

mlx.core.expm1#

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

Element-wise exponential minus 1.

Computes exp(x) - 1 with greater precision for small x.

參數:

a (array) -- 輸入陣列。

回傳值:

The expm1 of a.

回傳值型別:

array