TorchLean Trainer Summaries #
Small public report types returned by the high-level trainer facade.
Backend-independent before/after training summary.
Losses are rendered as strings because the runtime scalar type is chosen inside the training run.
- metric : String
Metric name, usually
loss. - steps : ℕ
Number of optimizer steps requested by the configuration.
- before : String
Metric before training.
- after : String
Metric after training.
Instances For
One-line summary suitable for quickstarts and scripts.
Instances For
Print the one-line before/after summary.
Instances For
Convert a before/after summary into the standard two-point TrainLog when values are finite.
Instances For
Read the before/after metrics back as ordinary Floats.
Most scripts call trained.printSummary. Examples that write JSON logs can use this operation when they
need the same metrics as Floats.
Instances For
Write this summary to a log destination when logging is enabled.