nirs4all.pipeline.dagml.structural_topology module
Lower declared early/learned-late choices into native structural campaigns.
This bridge transports declarations and complete raw buffers. DAG-ML owns recipe generation, grouped nested OOF, conditional patches and scoring; Methods owns all learned encoders, branch predictors and the terminal Ridge.
- nirs4all.pipeline.dagml.structural_topology.declared_topologies(steps: list[Any], splitter: Any) list[list[Any]][source]
Validate public grammar without native state or recipe enumeration.
- nirs4all.pipeline.dagml.structural_topology.is_topology_choice(steps: list[Any]) bool[source]
Recognize existing sequence alternatives containing Methods declarations.
- nirs4all.pipeline.dagml.structural_topology.lower_topology_choices(steps: list[Any], splitter: Any, schemas: Mapping[str, Any]) tuple[dict[str, Any], dict[str, Any], list[str]][source]
Lower each public declaration once; native compilation owns expansion.