ParallelPredict

Trait ParallelPredict 

Source
pub trait ParallelPredict<X, Output> {
    // Required methods
    fn predict_parallel(&self, x: &X) -> Result<Output>;
    fn predict_parallel_with_config(
        &self,
        x: &X,
        config: &ParallelConfig,
    ) -> Result<Output>;
}
Expand description

Trait for parallel prediction operations

Required Methods§

Source

fn predict_parallel(&self, x: &X) -> Result<Output>

Make predictions in parallel on large datasets

Source

fn predict_parallel_with_config( &self, x: &X, config: &ParallelConfig, ) -> Result<Output>

Make predictions in parallel with custom configuration

Implementors§