MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llama_sampler_name

Function llama_sampler_name

subprojects/llama.cpp/src/llama-sampling.cpp:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360const char * llama_sampler_name(const struct llama_sampler * smpl) {
361 if (!smpl->iface) {
362 return "(null)";
363 }
364
365 return smpl->iface->name(smpl);
366}
367
368void llama_sampler_accept(struct llama_sampler * smpl, llama_token token) {
369 if (!smpl) {

Callers 2

set_samplerMethod · 0.85
common_sampler_printFunction · 0.85

Calls 1

nameMethod · 0.65

Tested by

no test coverage detected