Training Results #
Regression, cross-entropy, and custom losses all return the same trained-model type. Capabilities that do not apply to every task, such as the current IBP verifier, are stored as optional operations.
Result of checking an output box with the trained-model IBP verifier.
- nodes : ℕ
Number of IR nodes in the compiled verifier graph.
- outputDim : ℕ
Flattened output dimension reported by the verifier.
- lo : String
Lower bound on the flattened output box.
- hi : String
Upper bound on the flattened output box.
Instances For
One-line verification summary.
Instances For
Print the verification summary.
Instances For
A trained TorchLean model.
The handle owns the live runtime state through its closures. predict and predictBatch are
available for every task. verifyRobustLInf? is present when the training path can compile the
trained parameters to the checked IBP verifier.
- report : TrainSummary
Before/after scalar summary for the completed run.
Run one
Floatinput through the trained model.Run several
Floatinputs through the trained model.Optional verifier for a uniform $\ell_\infty$ input ball.
Instances For
One-line summary for the completed training run.
Instances For
Print the before/after training summary.
Instances For
Print one prediction with a caller-supplied label.
Instances For
Verify a uniform $\ell_\infty$ ball around center.
The method fails explicitly when the training path did not attach the checked IBP capability.
Instances For
Verify a uniform $\ell_\infty$ ball and print the resulting output interval.
Instances For
A trained model returned by step-indexed stream training.
Generated or resampled workloads may not have one static dataset to summarize. The ordinary trained handle is paired with the evaluation curve collected from a caller-provided sample.
- result : TrainResult σ τ
Trained model handle.
- curve : Training.Curve
Evaluation loss curve recorded during stream training.
Instances For
One-line summary for the trained stream run.
Instances For
Print the stream training summary.
Instances For
Run one prediction through the trained stream result.
Instances For
Two trained regression models and the coupled metric recorded by an alternating stream.
- first : TrainResult σ₁ τ₁
Trained handle for the first model.
- second : TrainResult σ₂ τ₂
Trained handle for the second model.
- curve : Training.Curve
Task-specific curve recorded by the caller-provided evaluation function.
Instances For
One-line summary for the two trained models.
Instances For
Print the trained-handle summary for both models.
Instances For
Print the endpoints of the coupled metric curve.