code: def _not_equal(
      x1,
      x2,
      /,
      out=None,
      *,
      where=True,
      casting="same_kind",
      order="k",
      dtype=None,
      subok=True,
  ):
      ret = ivy.not_equal(x1, x2, out=out)
      if ivy.is_array(where):
          where = ivy.asarray(where, dtype=ivy.bool)
          ret = ivy.where(
              where, ret, ivy.default(out, ivy.zeros_like(ret)), out=out
          )
      return ret
  
file_path: ivy/ivy/functional/frontends/numpy/logic/comparison.py
imports: import ivy
  from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back, inputs_to_ivy_arrays, handle_numpy_casting, handle_numpy_dtype, from_zero_dim_arrays_to_scalar, handle_numpy_out
label_desc: Use image node_id 6 for calling a global function with example usage: _not_equal(out) and returns: ret