code: def rfftn(
      x: paddle.Tensor,
      s: Optional[Union[int, Tuple[int]]] = None,
      axes: Optional[Union[int, Tuple[int]]] = None,
      *,
      norm: Optional[str] = "backward",
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      result = paddle.fft.rfftn(x, s, axes, norm)
      return result.astype("complex128")
  
imports: from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
  import paddle
  from ivy.functional.ivy.layers import _handle_padding, _depth_max_pooling_helper, _validate_max_pool_params
  from ivy.utils.exceptions import IvyNotImplementedException, IvyValueError
  from ivy.func_wrapper import with_supported_device_and_dtypes, with_unsupported_dtypes, with_supported_dtypes
  from ..None import backend_version
  import ivy
label_desc: Use image node_id 19 for calling a global function with example usage: rfftn(x, s, axes) and returns: result