mlx.core.positive

目录

mlx.core.positive#

positive(a: array, /, *, stream: StreamOrDevice = None) → array#

Element-wise unary plus. Returns a copy of the input.

参数:

a (array) -- Input array.

返回:

A copy of a.

返回类型:

array