
NeuralOperator FNO1d
Physics and weather38 ops43.4K params
A neural operator that convolves in Fourier space to map functions on a grid to functions on a grid.
Physics and weather · 38 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.operators_science_reimpl:build_tfno: build({}) About this model's family
The Fourier Neural Operator (FNO) learns a mapping between spaces of functions discretized over regular grids, using Fourier convolutions. Its key component is the SpectralConv layer, which is like a standard CNN convolution layer but operates in the frequency domain. The neuraloperator implementation is N-dimensional: the dimensionality is inferred from the length of n_modes, the number of Fourier modes kept along each dimension. The mode count must stay below half the maximum resolution, the Nyquist frequency.
The default network has 4 Fourier layers. The width, hidden_channels, significantly affects the parameter count, and 64 is the suggested starting point, which is what the captured fno_1d, fno_2d and fno_generic members use with 12 modes per dimension. By default a grid positional embedding is appended to the last channels of the raw input, assuming a grid with the origin at [0,0,...] and side lengths of 1.
Key idea. Convolution carried out in the Fourier domain, so the network learns maps between functions on regular grids rather than between fixed arrays.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.