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
def
NN.Examples.Support.bannerWithDevice
(exeName desc : String)
(runtime : TorchLean.Runtime.Config)
:
Example banner with the executable name, a short description, and the selected device.
def
NN.Examples.Support.bannerWithDeviceDetails
(exeName desc details : String)
(runtime : TorchLean.Runtime.Config)
:
Two-line example banner: a headline with the selected device, then one detail line.