LiRPA MLP certificate checker #
This module is a compact end-to-end example of checking an IBP certificate for a compact MLP in TorchLean's graph-based verifier.
It does three things:
- Defines a compact graph (
buildGraph), - Seeds deterministic parameters and an input box,
- Checks a JSON certificate produced by an external tool (LiRPA-style workflow).
Run via the unified CLI registry:
lake exe verify -- lirpa-mlp [path]
If path is omitted, the CLI uses the default example certificate at:
NN/Examples/Verification/LiRPA/mlp_cert.json.
def
NN.Examples.Verification.LiRPA.MlpVerify.seedInputFloat
(ps : MLTheory.CROWN.Graph.ParamStore Float)
(eps : Float)
:
Instances For
Check an IBP certificate JSON file and throw an error if it does not match recomputed bounds.