mlx.core.logical_not

目錄

mlx.core.logical_not#

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

Element-wise logical not.

參數:

a (array) -- 輸入陣列或純量。

回傳值:

The boolean array containing the logical not of a.

回傳值型別:

array