logical_not

ivy.logical_not(x, f=None)[source]

Computes the truth value of NOT x element-wise.

Parameters
  • x (array) – Input array 1.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

Boolean result of the logical OR operation applied element-wise to x1 and x2.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty