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) -- Input array.

返回:

The expm1 of a.

返回类型:

array