Skip to main content

ParallelPredict

Trait ParallelPredict 

Source
pub trait ParallelPredict<F: Float> {
    // Required method
    fn predict_parallel(
        &self,
        points: &ArrayView2<'_, F>,
        config: &ParallelConfig,
    ) -> InterpolateResult<Array1<F>>;
}
Expand description

Trait for interpolators that can make batch predictions in parallel

Required Methods§

Source

fn predict_parallel( &self, points: &ArrayView2<'_, F>, config: &ParallelConfig, ) -> InterpolateResult<Array1<F>>

Make predictions at multiple points in parallel

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§