Skip to main content

evaluate_boundary_parallel

Function evaluate_boundary_parallel 

Source
pub fn evaluate_boundary_parallel(
    gt: &CocoDataset,
    dt: &CocoDetections,
    params: EvaluateParams<'_>,
    parity_mode: ParityMode,
    dilation_ratio: f64,
) -> Result<EvalGrid, EvalError>
Expand description

Parallel sibling of crate::evaluate::evaluate_boundary.

Uncached path: the cell loop derives GT bands inline. Callers that run repeated evaluations against the same GT should construct a BoundaryGtCache and use evaluate_boundary_cached_parallel instead (per ADR-0020); the first call populates the cache, every subsequent call reuses the bands.

ยงErrors

Propagates EvalError from the underlying kernel and matching calls.