code: def where(
      condition: np.ndarray,
      x1: np.ndarray,
      x2: np.ndarray,
      /,
      *,
      out: Optional[np.ndarray] = None,
  ) -> np.ndarray:
      x1, x2 = ivy.promote_types_of_inputs(x1, x2)
      return ivy.astype(
          np.where(condition, x1, x2), x1.dtype, copy=False
      )
  
file_path: ivy/ivy/functional/backends/numpy/searching.py
imports: from numbers import Number
  from typing import Optional, Tuple, Union
  import numpy
  import ivy
label_desc: Use image node_id 4 for calling a global function with example usage: where() and returns: ivy