nirs4all.controllers.flow package
Submodules
Module contents
Flow control controllers.
Controllers for flow control operators (condition, scope, sequential, dummy).
- class nirs4all.controllers.flow.DummyController[source]
Bases:
OperatorControllerCatch-all controller for operators not handled by other controllers.
This controller has the lowest priority and will catch any operators that don’t match other controllers, providing detailed debugging information about why they weren’t handled elsewhere.
- execute(step_info: ParsedStep, dataset: SpectroDataset, context: ExecutionContext, runtime_context: RuntimeContext, source: int = -1, mode: str = 'train', loaded_binaries: List[Tuple[str, Any]] | None = None, prediction_store: Any | None = None) Tuple[ExecutionContext, List[Tuple[str, bytes]]][source]
Handle unmatched operators and provide detailed debugging information.