Skip to main content

evaluate_with_parallel

Function evaluate_with_parallel 

Source
pub fn evaluate_with_parallel<K: EvalKernel>(
    gt: &CocoDataset,
    dt: &CocoDetections,
    params: EvaluateParams<'_>,
    parity_mode: ParityMode,
    kernel: &K,
) -> Result<EvalGrid, EvalError>
Expand description

Parallel sibling of crate::evaluate::evaluate_with. Caller installs a rayon::ThreadPool around the call.

ยงErrors

Propagates the first EvalError from any per-cell call.