qat.experimental.system_data.derived.interface module
- class DerivedViewInterface
Bases:
ABCA view of a canonical system data object derived from the canonical data.
This is an abstract base class for derived views of canonical system data. They provide a representation of relevant data in a form that is convenient to the given application, such as a particular layer of abstraction, or a particular pass.
- abstract classmethod from_canonical(canonical_data)
Construct a derived view from canonical system data.
- Parameters:
canonical_data¶ (
CanonicalSystemData) – The canonical system data to derive from.- Return type:
TypeVar(_TDerivedView, bound= DerivedViewInterface)- Returns:
A derived view of the canonical data.