code: def nanmedian(
      input: np.ndarray,
      /,
      *,
      axis: Optional[Union[Tuple[int], int]] = None,
      keepdims: bool = False,
      overwrite_input: bool = False,
      out: Optional[np.ndarray] = None,
  ) -> np.ndarray:
      return np.nanmedian(
          input,
          axis=axis,
          keepdims=keepdims,
          overwrite_input=overwrite_input,
          out=out,
      )
  
imports: from typing import Optional, Union, Tuple, Sequence
  import numpy
  import math
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
  from ..statistical import _infer_dtype
  from copy import deepcopy
label_desc: Use image node_id 13 for calling a global function with example usage: nanmedian() and returns: np