vraven.decompiler · class
MechanismSnapshot
MechanismSnapshot(survival: 'float', delta_l1: 'float', delta_linf: 'float', suppressed_units: 'list[str]' = <factory>, activated_units: 'list[str]' = <factory>, first_divergence: 'str | None' = None, probe_kind: 'str' = 'activation_fingerprint', cosine_survival: 'float | None' = None, energy_survival: 'float | None' = None, top_active_cosine_survival: 'float | None' = None, worst_layer_cosine_survival: 'float | None' = None, worst_layer: 'str | None' = None) -> NoneCompact ΔM between clean and adversarial mechanism vectors.
Usage
from vraven.decompiler import MechanismSnapshot
value = MechanismSnapshot(...)
Methods
to_dict(self) -> 'dict[str, Any]'
Public method.
Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.