TorchLean Trainer Verification Helpers #
Public verifier request builders and trained-result convenience methods.
def
TorchLean.Trainer.Implementation.Regression.TrainResult.printVerification
{σ τ : Shape}
(result : TrainResult σ τ)
(request : LInfIBPRequest σ)
:
Run verify and print the resulting certified output interval.
Instances For
def
TorchLean.Trainer.Implementation.Regression.TrainResult.verifyRobustLInf
{σ τ : Shape}
(result : TrainResult σ τ)
(center : Tensor.T Float σ)
(eps : Float)
:
Verify the trained model on a uniform ℓ∞ input ball.
The method lives on TrainResult, not on the untrained trainer, because the verifier needs the
actual trained parameter values.
Instances For
def
TorchLean.Trainer.Implementation.Regression.TrainResult.printRobustLInf
{σ τ : Shape}
(result : TrainResult σ τ)
(center : Tensor.T Float σ)
(eps : Float)
:
Verify a uniform ℓ∞ input ball and print the resulting certified output interval.
Instances For
Build a uniform ℓ∞ IBP request for trained-model verification.