Skip to main content

sampler_from_params

Function sampler_from_params 

Source
pub fn sampler_from_params(
    params: &SamplingParams,
) -> Box<dyn Sampler + Send + Sync>
Expand description

Create sampler instance from parameters.

Returns a boxed Sampler trait object based on the temperature setting.