| 122 | llama_token_data_array cur_p; |
| 123 | |
| 124 | void reset() { |
| 125 | prev.clear(); |
| 126 | |
| 127 | llama_sampler_reset(chain); |
| 128 | } |
| 129 | |
| 130 | void set_logits(struct llama_context * ctx, int idx) { |
| 131 | const float * sampled_probs = llama_get_sampled_probs_ith (ctx, idx); |
no test coverage detected