mlx.core.negative# negative(a: array, /, *, stream: None | Stream | Device = None) → array# 逐元素取负。 参数: a (array) – 输入数组。 返回: a 的负值。 返回类型: array