code: def frexp(
      x: np.ndarray,
      /,
      *,
      out: Optional[Tuple[np.ndarray, np.ndarray]] = None,
  ) -> Tuple[np.ndarray, np.ndarray]:
      if out is None:
          return np.frexp(x, out=(None, None))
      else:
          return np.frexp(x, out=out)
  
imports: from typing import Optional, Union, Tuple, List, Sequence
  import numpy
  import numpy.typing
  import ivy
  from ivy import promote_types_of_inputs
  from ivy.functional.backends.numpy.helpers import _scalar_output_to_0d_array
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
label_desc: Use image node_id 21 for calling a global function with example usage: frexp() and returns: np, np