- Replace batch-scattered temperature==0 checks with (temperature == 0).all() - Reuse _is_greedy in standalone sample() function
- Replace batch-scattered temperature==0 checks with (temperature == 0).all() - Reuse _is_greedy in standalone sample() function