select_routed_pair

Function select_routed_pair 

Source
pub fn select_routed_pair(
    layers: &[Option<LoraLayerWeights>],
    global_layer_idx: usize,
    module: LoraModule,
) -> Option<&LoraPair>
Expand description

2026-09-25: The LoraPair for (global layer, module) in a slot’s global-layer-indexed layers. None when the index is out of range, the layer has no pairs, or the adapter has no pair for that module.