<br />

<button value="stable" default="">See Stable</button> <button value="nightly">See Nightly</button>

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/ops/signal/fft_ops.py#L291-L338) |

ND fast real Fourier transform.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.signal.rfftnd`](https://www.tensorflow.org/api_docs/python/tf/signal/rfftnd.md.txt)

<br />

```python
tf.signal.rfftnd(
    input_tensor, fft_length=None, axes=None, norm=None, name=None
)
```

Computes the n-dimensional real discrete Fourier transform over designated
dimensions of `input`. The designated dimensions of `input` are assumed to be
the result of `RFFTND`. The length of the last axis transformed will be
fft_length\[-1\]//2+1.

If fft_length\[i\]shape(input)\[i\], the input is padded with zeros. If fft_length is not given, the default shape(input) is used.

Axes mean the dimensions to perform the transform on. Default is to perform on
all axes.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor`. Must be one of the following types: `float32`, `float64`. A float32 or float64 tensor. |
| `fft_length` | A `Tensor` of type `int32`. An int32 tensor. The FFT length for each dimension. |
| `axes` | A `Tensor` of type `int32`. An int32 tensor with a same shape as fft_length. Axes to perform the transform. Should be [`tf.complex64`](https://www.tensorflow.org/api_docs/python/tf.md.txt#complex64) when the type of `input` is `float32`. Should be [`tf.complex128`](https://www.tensorflow.org/api_docs/python/tf.md.txt#complex128) when the type of `input` is `float64`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `Tcomplex`. ||

<br />