vraven.decompiler · class
CapturedModel
CapturedModel(ir: 'MechanismIR', original_model: 'nn.Module', graph_module: 'GraphModule | None', exported_program: 'Any | None' = None, example_args: 'tuple[Any, ...]' = (), example_kwargs: 'dict[str, Any]' = <factory>, route_metadata: 'dict[str, Any]' = <factory>) -> NoneRuntime capture artefact.
``graph_module`` is available for export and FX routes and is the basis for graph
compiled interventions. Runtime fallback routes still produce a useful IR, but do
not claim graph rewriting support.
Usage
from vraven.decompiler import CapturedModel
value = CapturedModel(...)
Methods
summary(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.