Professional Documents
Culture Documents
FNO Darcy 2
FNO Darcy 2
FNO Darcy 2
and activation function 𝜎(⋅). 𝒫 is the point-wise lifting network that projects the input into a
higher-dimensional latent space, 𝒫 ∶ ℝ𝑑𝑖 𝑛 → ℝ𝑘 .
Similarly, 𝒬 is the point-wise fully-connected decoding network, 𝒫 ∶ ℝ𝑘 → ℝ𝑑𝑜 𝑢𝑡 . Since all fully-
connected components of FNO are point-wise operations, the model is invariant to the dimension-
ality of the input.
For more details, please refer the Modulus User Documentation.
where 𝑚, 𝑛 is the index the patch location and DFT denotes a 2D discrete Fourier transform.
The model then applies token weighting in the Fourier domain and promotes sparsity with a Soft-
Thresholding and Shrinkage operation as
𝑧𝑚,𝑛
̃ = 𝑆𝜆 (MLP(𝑧𝑚,𝑛 )), (4)
where 𝑆𝜆 (𝑥) = sign(𝑥) max(|𝑥| − 𝜆, 0) with the sparsity controlling parameter 𝜆, and MLP(⋅) is
a 2-layer multi-layer perceptron with block-diagonal weight matrices which are shared across all
patches.
The last operation in an ANFO layer is an inverse Fourier to transform back to the patch domain
and add a residual connection as