TorchLean API

NN.Examples.Models.Operators.Fno1dBurgers

Native TorchLean FNO1D Burgers #

This file is the operator-learning tutorial we want people to read after the basic CNN/MLP examples. The Python helpers do the two jobs Lean should not own here: download/reshape the public burgers_data_R10.mat file, then plot the prediction CSV. The model, loss, optimizer, and training loop stay in TorchLean.

Why we use the real-split FNO path in this executable:

The training task follows the standard FNO Burgers setup: learn the operator u₀(x) ↦ u(x,T) on a fixed periodic grid. We keep the default grid and row counts modest because the first run should answer one question quickly: "is my TorchLean/CUDA path wired correctly?" Once that works, raise --steps, export more rows, and bump the constants below.

References for the dataset/training convention:

@[reducible, inline]
Instances For
    @[reducible, inline]
    Instances For
      @[reducible, inline]
      Instances For
        @[reducible, inline]
        Instances For
          Instances For