parameters: (x)
return_statement: return constant_op.constant(np.logical_not(x_))
docstring: Convenience function which attempts to statically apply `logical_not`.
docstring_summary: Convenience function which attempts to statically apply `logical_not`.
docstring_tokens: Convenience function which attempts to statically apply logical_not .
function: def _logical_not(x):
    """Convenience function which attempts to statically apply `logical_not`."""
    x_ = _static_value(x)
    if x_ is None:
      return math_ops.logical_not(x)
    return constant_op.constant(np.logical_not(x_))
function_tokens: def _logical_not ( x ) : x_ = _static_value ( x ) if x_ is None : return math_ops . logical_not ( x ) return constant_op . constant ( np . logical_not ( x_ ) )