mlx.core.negative

目錄

mlx.core.negative#

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

Element-wise negation.

參數:

a (array) -- Input array.

回傳:

The negative of a.

回傳型別:

array