mlx.core.positive

Contents

mlx.core.positive#

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

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

Parameters:

a (array) – Input array.

Returns:

A copy of a.

Return type:

array