Skip to main content

compile_operator_variant_models

Function compile_operator_variant_models 

Source
pub fn compile_operator_variant_models(
    spec: &PipelineDslSpec,
) -> Result<Vec<OperatorVariantModel>, DagMlError>
Expand description

Opt-in: lower the spec’s operator-level generators (Mechanism B’s PipelineDslStep::Generator) into one OperatorVariantModel each — an active_subsequence-only operator dimension plus the exact per-choice active-node-id set.

This is a SEPARATE, additive derivation: it does not run or change compile_pipeline_dsl_with_generation, the graph, the OOF lanes, CompiledPipelineDsl.generation, or search_space_fingerprint. Existing specs (which never call this) compile byte-identically. Returns an empty vec when the spec has no operator-level generators.