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) -- 輸入陣列。

回傳值:

A copy of a.

回傳值型別:

array