dahl_salso::loss

Function compute_loss_multiple

Source
pub fn compute_loss_multiple<'a, T: CMLossComputer>(
    loss_computer_factory: Box<dyn Fn() -> T + 'a>,
    partitions: &PartitionsHolderBorrower<'_>,
    draws: &PartitionsHolderBorrower<'_>,
    results: &mut [f64],
)