TorchLean API

NN.Examples.Support.Training

Runnable Example Training Support #

Logging, runtime, and fixed-sample training helpers used by the runnable model examples.

Training-log note recording the selected CUDA allocator-reporting cadence.

Instances For

    Shared CLI and logging names for the built-in runnable examples.

    These are public so examples can stay short and readable. They live under Support; ordinary library code should usually use Trainer, Data, and optim directly.

    Standard location for a runnable example's training log under data/examples.

    Instances For

      device=... note string used by example logs.

      Instances For

        Example banner with the executable name, a short description, and the selected device.

        Instances For

          Two-line example banner: a headline with the selected device, then one detail line.

          Instances For
            def NN.Examples.Support.check (exeName msg : String) (b : Bool) :

            Fail with a contextual error when an executable model check is false.

            Instances For