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

Function common_sampler_reset

smallthinker/common/sampling.cpp:310–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void common_sampler_reset(struct common_sampler * gsmpl) {
311 llama_sampler_reset(gsmpl->grmr);
312
313 llama_sampler_reset(gsmpl->chain);
314}
315
316struct common_sampler * common_sampler_clone(common_sampler * gsmpl) {
317 return new common_sampler {

Callers 4

mainFunction · 0.85
update_slotsMethod · 0.85
mainFunction · 0.85

Calls 1

llama_sampler_resetFunction · 0.85

Tested by 1