Training Reports #
Training curves, metric histories, and logs produced by Trainer runs.
Loss measured before and after a training run.
- before : α
Loss measured before any updates in the run.
- after : α
Loss measured after all requested updates in the run.
Instances For
def
TorchLean.Training.instReprLossProgress.repr
{α✝ : Type}
[Repr α✝]
:
LossProgress α✝ → Nat → Std.Format
Instances For
@[instance_reducible]
Return whether a completed step should emit a periodic report.
Instances For
Write a training log to an enabled or disabled destination.
Instances For
Instances For
Return the endpoints of a scalar curve, or none when it contains no values.
Instances For
Return the endpoints of a scalar curve or raise a contextual error when it is empty.
Instances For
def
TorchLean.Training.MetricHistory.writeLog
(history : MetricHistory)
(destination : LogDestination)
(title : String)
(notes : Array String := #[])
:
Write named metric series to an enabled or disabled training-log destination.