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§
Sourcefn predict_parallel(
&self,
points: &ArrayView2<'_, F>,
config: &ParallelConfig,
) -> InterpolateResult<Array1<F>>
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".