Training Reports #
Small report types returned by the high-level trainer API.
Backend-independent training report.
Executable scalar backends are read back once at the result boundary, so callers receive ordinary
host Float losses without parsing rendered values.
- steps : ℕ
Number of optimizer steps requested by the configuration.
- loss : Training.LossProgress Float
Host-readable loss measured before and after training.
- arithmetic : Runtime.Arithmetic
Arithmetic the run executed under; it fixes the binary32 scalar named by
runtimeScalar.
Instances For
Name of the runtime scalar type that produced this report.
Instances For
One-line summary suitable for quickstarts and scripts.
Instances For
Print the one-line training summary.
Instances For
Convert the report into the standard two-point training log.
Instances For
def
TorchLean.Trainer.Report.writeLog
(destination : Training.LogDestination)
(title : String)
(notes : Array String)
(report : Report)
:
Write this report to a log destination when logging is enabled.