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§
Sourcefn predict_parallel(&self, x: &X) -> Result<Output>
fn predict_parallel(&self, x: &X) -> Result<Output>
Make predictions in parallel on large datasets
Sourcefn predict_parallel_with_config(
&self,
x: &X,
config: &ParallelConfig,
) -> Result<Output>
fn predict_parallel_with_config( &self, x: &X, config: &ParallelConfig, ) -> Result<Output>
Make predictions in parallel with custom configuration