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

Function llama_sampler_name

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

Source from the content-addressed store, hash-verified

325}
326
327const char * llama_sampler_name(const struct llama_sampler * smpl) {
328 if (!smpl->iface) {
329 return "(null)";
330 }
331
332 return smpl->iface->name(smpl);
333}
334
335void llama_sampler_accept(struct llama_sampler * smpl, llama_token token) {
336 if (smpl->iface->accept) {

Callers 1

common_sampler_printFunction · 0.85

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected