TorchLean API

NN.Verification.LiRPA.Common

Shared LiRPA Certificate Helpers #

Small utilities used by the LiRPA certificate examples. The model graphs stay in their own modules; this file only contains the repeated artifact-checking and input-box plumbing.

Center vector [1, 2, ..., dim], used by the small deterministic LiRPA examples.

Instances For

    Insert an L∞ input box around center into a graph parameter store.

    Instances For

      Insert an L∞ input box around [1, 2, ..., dim].

      Instances For

        Recompute Lean IBP bounds and compare them against a JSON certificate.

        Instances For