Function nuts_rs::sample_parallel

source ·
pub fn sample_parallel<F: CpuLogpFuncMaker + 'static, I: InitPointFunc>(
    logp_func_maker: F,
    init_point_func: &mut I,
    settings: SamplerArgs,
    n_chains: u64,
    n_draws: u64,
    seed: u64,
    n_try_init: u64
) -> Result<(JoinHandle<Vec<ParallelChainResult>>, Receiver<(Box<[f64]>, Box<dyn SampleStats>)>), ParallelSamplingError>
Expand description

Sample several chains in parallel and return all of the samples live in a channel