ExecutionPlan#
Defined in: voxatlas.pipeline.execution_plan
- class voxatlas.pipeline.execution_plan.ExecutionPlan(layers)[source]#
Bases:
objectRepresent a dependency-sorted feature execution plan.
- Parameters:
layers (iterable of iterable of str) – Sequence of dependency layers. Features in the same layer can be executed independently.
- Returns:
Normalized execution plan.
- Return type:
Notes
The
featuresattribute flattens the layer structure in execution order.Examples
>>> from voxatlas.pipeline.execution_plan import ExecutionPlan >>> plan = ExecutionPlan([["a"], ["b", "c"]]) >>> plan.features ['a', 'b', 'c']