tf.rfftnd | TensorFlow v2.16.1 (original) (raw)
ND fast real Fourier transform.
View aliases
Compat aliases for migration
SeeMigration guide for more details.
tf.rfftnd(
input: Annotated[Any, TV_RFFTND_Treal],
fft_length: Annotated[Any, _atypes.Int32],
axes: Annotated[Any, _atypes.Int32],
Tcomplex: TV_RFFTND_Tcomplex = tf.dtypes.complex64,
name=None
) -> Annotated[Any, TV_RFFTND_Tcomplex]
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="" cropped.="" 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.</shape(input)[i],>
Axes mean the dimensions to perform the transform on. Default is to perform on all axes.
Args | |
---|---|
input | A Tensor. Must be one of the following types: float32, float64. A complex 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. |
Tcomplex | An optional tf.DType from: tf.complex64, tf.complex128. Defaults to tf.complex64. |
name | A name for the operation (optional). |
Returns |
---|
A Tensor of type Tcomplex. |