boundlab.zonosq#
Quadratic-zonotope abstract interpretation.
Most operators mirror boundlab.zono; MatMul uses the
QuadraticEpsilon square-term relaxation from this package.
Functions
Triangle relaxation of ReLU for zonotope abstract interpretation. |
|
Minimal-area exp relaxation (DeepT, Section 4.5). |
|
Minimal-area reciprocal relaxation with positive-output constraint. |
|
Minimal-area tanh relaxation (DeepT, Section 4.4). |
|
Linearize element-wise product of two symbolic expressions. |
|
Abstract the sum of matmuls |
|
Zonotope softmax transformer using the DeepT decomposition. |
|
Gradlin-based linearizer for |
Classes
Tuple of |
|
Data class representing zonotope bounds for a neural network layer. |