MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / reset

Method reset

common/sampling.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 1

common_sampler_resetFunction · 0.45

Calls 2

llama_sampler_resetFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected