Skip to main content

construct

Function construct 

Source
pub fn construct<B>(
    prepared: PreparedMimiArtifact,
    tensor_context: &<<B as NeuralBackend>::Tensor as Tensor>::Context,
    materialization_context: &B::MaterializationContext,
) -> Result<Mimi<<B as NeuralBackend>::Tensor>, MimiConstructionError<B::ParameterError>>
where B: ParameterBackend<Parameter = <B as NeuralBackend>::Tensor>,
Expand description

Selects generic backend mechanisms, then constructs Mimi through the exact neutral artifact plan.