parameters: (x, s=None, axes=(-2, -1), norm="backward", name=None)
return_statement: return hfftn(x, s, axes, norm, name)
docstring: Compute the 2-D FFT of a Hermitian complex array.
  
      Args:
          x (Tensor): The input data. It's a Tensor type.
          s (sequence of ints, optional): Shape of the real output. Default is None.
          axes (sequence of ints, optional):  Axes over which to compute the FFT. Axes must be 
              two-dimensional. If not specified, the last two axes are used by default.       
          norm (str): Indicates which direction to scale the `forward` or `backward` transform
              pair and what normalization factor to use. The parameter value must be one 
              of "forward" or "backward" or "ortho". Default is "backward".
          name (str, optional): The default value is None.  Normally there is no need for user to set 
              this property. For more information, please refer to :ref:`api_guide_Name`. 
      
      Returns:
          Real tensor. The real result of the 2-D Hermitian complex real FFT.
      
      Raises:
          ValueError: if `s` not be a sequence of 2 integers or None.
          ValueError: if `axes` not be a sequence of 2 integers or None.
          ValueError: If the input dimension is smaller than 2.
      
      Examples:
  
          .. code-block:: python
  
              import numpy as np
              import paddle
  
              x = (np.array([[3,2,3],[2, 2, 3]]) + 1j * np.array([[3,2,3],[2, 2, 3]])).astype(np.complex128)
              xp = paddle.to_tensor(x)
              hfft2_xp = paddle.fft.hfft2(xp).numpy()
              print(hfft2_xp)
              #  [[19.  7.  3. -9.]
              #   [ 1.  1.  1.  1.]]
docstring_summary: Compute the 2-D FFT of a Hermitian complex array.
docstring_tokens: Compute the 2 - D FFT of a Hermitian complex array .
function: def hfft2(x, s=None, axes=(-2, -1), norm="backward", name=None):
      """
      Compute the 2-D FFT of a Hermitian complex array.
  
      Args:
          x (Tensor): The input data. It's a Tensor type.
          s (sequence of ints, optional): Shape of the real output. Default is None.
          axes (sequence of ints, optional):  Axes over which to compute the FFT. Axes must be 
              two-dimensional. If not specified, the last two axes are used by default.       
          norm (str): Indicates which direction to scale the `forward` or `backward` transform
              pair and what normalization factor to use. The parameter value must be one 
              of "forward" or "backward" or "ortho". Default is "backward".
          name (str, optional): The default value is None.  Normally there is no need for user to set 
              this property. For more information, please refer to :ref:`api_guide_Name`. 
      
      Returns:
          Real tensor. The real result of the 2-D Hermitian complex real FFT.
      
      Raises:
          ValueError: if `s` not be a sequence of 2 integers or None.
          ValueError: if `axes` not be a sequence of 2 integers or None.
          ValueError: If the input dimension is smaller than 2.
      
      Examples:
  
          .. code-block:: python
  
              import numpy as np
              import paddle
  
              x = (np.array([[3,2,3],[2, 2, 3]]) + 1j * np.array([[3,2,3],[2, 2, 3]])).astype(np.complex128)
              xp = paddle.to_tensor(x)
              hfft2_xp = paddle.fft.hfft2(xp).numpy()
              print(hfft2_xp)
              #  [[19.  7.  3. -9.]
              #   [ 1.  1.  1.  1.]]
  
  
      """
      _check_at_least_ndim(x, 2)
      if s is not None:
          if not isinstance(s, Sequence) or len(s) != 2:
              raise ValueError(
                  "Invalid FFT argument s ({}), it should be a sequence of 2 integers.".
                  format(s))
      if axes is not None:
          if not isinstance(axes, Sequence) or len(axes) != 2:
              raise ValueError(
                  "Invalid FFT argument axes ({}), it should be a sequence of 2 integers.".
                  format(axes))
      return hfftn(x, s, axes, norm, name)
function_tokens: def hfft2 ( x , s = None , axes = ( - 2 , - 1 ) , norm = "backward" , name = None ) : _check_at_least_ndim ( x , 2 ) if s is not None : if not isinstance ( s , Sequence ) or len ( s ) != 2 : raise ValueError ( "Invalid FFT argument s ({}), it should be a sequence of 2 integers." . format ( s ) ) if axes is not None : if not isinstance ( axes , Sequence ) or len ( axes ) != 2 : raise ValueError ( "Invalid FFT argument axes ({}), it should be a sequence of 2 integers." . format ( axes ) ) return hfftn ( x , s , axes , norm , name )