mlx.core.logical_not

目录

mlx.core.logical_not#

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

Element-wise logical not.

参数:

a (array) -- Input array or scalar.

返回:

The boolean array containing the logical not of a.

返回类型:

array