parameters: (x, out=None, **kwargs)
return_statement: return _pure_unary_func_helper(x, _api_internal.logical_not, _np.logical_not, out=out, **kwargs)
docstring: r"""
      Compute the truth value of NOT x element-wise.
  
      Parameters
      ----------
      x : ndarray or scalar
          Logical NOT is applied to the elements of `x`.
      out : ndarray or None, optional
          A location into which the result is stored.
  
      Returns
      -------
      y : bool or ndarray of bool
          Boolean result with the same shape as `x` of the NOT operation
          on elements of `x`.
          This is a scalar if `x` is a scalar.
  
      Notes
      -----
      This function differs from the original numpy.logical_not in the following aspects:
          - Do not support `where`, a parameter in numpy which indicates where to calculate.
          - Cannot cast type automatically. Dtype of `out` must be same as the expected one.
          - Cannot broadcast automatically. Shape of `out` must be same as the expected one.
          - If `x` is plain python numeric, the result won't be stored in out.
  
      Examples
      --------
      >>> x= np.array([True, False, 0, 1])
      >>> np.logical_not(x)
      array([False,  True,  True, False])
  
      >>> x = np.arange(5)
      >>> np.logical_not(x<3)
      array([False, False, False,  True,  True])
docstring_summary: r"""
      Compute the truth value of NOT x element-wise.
docstring_tokens: r Compute the truth value of NOT x element - wise .
function: def logical_not(x, out=None, **kwargs):
      r"""
      Compute the truth value of NOT x element-wise.
  
      Parameters
      ----------
      x : ndarray or scalar
          Logical NOT is applied to the elements of `x`.
      out : ndarray or None, optional
          A location into which the result is stored.
  
      Returns
      -------
      y : bool or ndarray of bool
          Boolean result with the same shape as `x` of the NOT operation
          on elements of `x`.
          This is a scalar if `x` is a scalar.
  
      Notes
      -----
      This function differs from the original numpy.logical_not in the following aspects:
          - Do not support `where`, a parameter in numpy which indicates where to calculate.
          - Cannot cast type automatically. Dtype of `out` must be same as the expected one.
          - Cannot broadcast automatically. Shape of `out` must be same as the expected one.
          - If `x` is plain python numeric, the result won't be stored in out.
  
      Examples
      --------
      >>> x= np.array([True, False, 0, 1])
      >>> np.logical_not(x)
      array([False,  True,  True, False])
  
      >>> x = np.arange(5)
      >>> np.logical_not(x<3)
      array([False, False, False,  True,  True])
      """
      return _pure_unary_func_helper(x, _api_internal.logical_not, _np.logical_not, out=out, **kwargs)
function_tokens: def logical_not ( x , out = None , * * kwargs ) : return _pure_unary_func_helper ( x , _api_internal . logical_not , _np . logical_not , out = out , * * kwargs )