AFNO-transformer
AFNO-transformer copied to clipboard
Fixed dimension of frequency threshold in 2d
Based on the paper's Figure 3: https://openreview.net/pdf?id=EXHG-A3jlM
I think the number of modes threshold in 2d
https://github.com/NVlabs/AFNO-transformer/blob/941e924ffdb34cb93897b5fd6e22e5965fdc1111/afno/afno2d.py#L54-L55
should be W instead of N since N = H*W, similar applies to bfno2d.py.
Nice paper btw. @jtguibas