pub fn sampler_from_params( params: &SamplingParams, ) -> Box<dyn Sampler + Send + Sync>
Create sampler instance from parameters.
Returns a boxed Sampler trait object based on the temperature setting.
Sampler