Fourier Neural Operators over Arbitrary Spatial Rank #
This module implements a Fourier layer over any finite collection of spatial axes. The transform uses separable per-axis FFTs or an explicit dense reference. Its phase is the sum of per-axis phases, so this is the tensor-product multidimensional DFT rather than a one-dimensional DFT of flattened storage. Real and imaginary parts are represented by separate tensors, allowing the model to run over ordinary real scalar backends. The spectral linear map is applied independently at every retained frequency.
Shape of an m × n matrix.
Instances For
Shape of a vector with n entries.
Instances For
Tensor shape spatial... × channels.
Instances For
Tensor shape of a scalar field over the spatial grid.
Instances For
Number of spatial grid points.
Instances For
Matrix view that flattens the spatial axes and preserves the channel axis.
Instances For
Learned frequency-wise channel maps, one channels × channels matrix per grid frequency.
Instances For
Tensor-product DFT phase for two flattened spatial coordinates.
Instances For
Cosine part of the dense multidimensional DFT matrix.
Instances For
Negative-sine part of the dense multidimensional DFT matrix.
Instances For
Normalized cosine part of the dense multidimensional inverse DFT matrix.
Instances For
Normalized sine part of the dense multidimensional inverse DFT matrix.
Instances For
Whether one coordinate lies in the retained low- or high-frequency bands.
Instances For
Pointwise mask for the retained multidimensional Fourier modes.
Instances For
Reshape a spatial field to its matrix view.
Instances For
Restore a matrix view to its spatial axes.
Instances For
Add the singleton channel axis used inside an FNO model.
Instances For
Remove the singleton channel axis after the output projection.
Instances For
One multidimensional FNO block.
The first d axes are transformed. A learned channel map is applied at every retained frequency,
the discarded frequency rectangle is set to zero, and a pointwise affine skip is added after the
inverse transform.