Skip to main content

select_bindings

Function select_bindings 

Source
pub fn select_bindings<B: ParameterBackend>(
    source: SharedCheckpointSource,
    bindings: Vec<WeightBinding>,
) -> Result<SelectedBindingPlan<B>, ParameterOrchestrationError<B::ParameterError>>
Expand description

Selects a complete immutable binding unit against one exact source.

Selection validates every declaration, recipe, byte count, and backend capability without reading payloads, allocating native tensors, or publishing parameters. The returned token owns both the source and tasks so later materialization cannot substitute either or repeat backend selection.