Accounting for temperature when setting logprob, likelihood for samples.