All models

NeuralOperator FNO2d

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

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (42 KB)

Open in a new tab

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.

At a glance

Parameters
499.5K
Operations
38
Framework
PyTorch
Recurrent
No
Published
2020
Source
neuraloperator 2.0.0
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1938
Graph hash
572cf5cf5051bc4fd3a0e0da78d1fbee28d87fca2e9294aed41a7178a61c9db4
Skeleton hash
5ab03839f75c7e9ac9df0c874ce418ede66109e75b19f5e81c2a81a56558962a
Architecture hash
3786be2c50831f7f0120c11900e38cec492957b6ccd54a5ebb32f88235d224a7
Diagram SHA-256
250df8a83cc804ec41dcb8d72e056db1a8492fad2905d60a137e19f3dcb99d9c
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.operators_science_reimpl:build_fno2d: build({})

What it is

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.

  • fno
  • fourier neural operator
  • neural operator
  • neuraloperator
  • neuralop
  • spectral convolution
  • spectralconv
  • pde
  • fno1d
  • fno2d
  • fno3d
  • tfno

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.