MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_sampler_reset

Function llama_sampler_reset

smallthinker/src/llama-sampling.cpp:346–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346void llama_sampler_reset(struct llama_sampler * smpl) {
347 if (smpl->iface->reset) {
348 smpl->iface->reset(smpl);
349 }
350}
351
352struct llama_sampler * llama_sampler_clone(const struct llama_sampler * smpl) {
353 if (smpl->iface->clone) {

Callers 4

benchFunction · 0.85
match_stringFunction · 0.85
common_sampler_resetFunction · 0.85

Calls 1

resetMethod · 0.45

Tested by 2

benchFunction · 0.68
match_stringFunction · 0.68