code: def nanmedian(
      input: paddle.Tensor,
      /,
      *,
      axis: Optional[Union[Tuple[int], int]] = None,
      keepdims: Optional[bool] = False,
      dtype: Optional[paddle.dtype] = None,
      overwrite_input: Optional[bool] = False,
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      if dtype is None:
          dtype = input.dtype
      return paddle.nanmedian(x=input, axis=axis, keepdim=keepdims)
  
imports: from typing import Optional, Union, Tuple, Sequence, Any
  import paddle
  import ivy.functional.backends.paddle
  import ivy
  from copy import deepcopy
  from ivy.func_wrapper import with_unsupported_device_and_dtypes, with_supported_dtypes
  from .None import backend_version
label_desc: Use image node_id 14 for calling a global function with example usage: nanmedian() and returns: paddle