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

Function llama_sampler_temp_apply

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

Source from the content-addressed store, hash-verified

967}
968
969static void llama_sampler_temp_apply(struct llama_sampler * smpl, llama_token_data_array * cur_p) {
970 const auto * ctx = (llama_sampler_temp *) smpl->ctx;
971
972 llama_sampler_temp_impl(cur_p, ctx->temp);
973}
974
975static struct llama_sampler * llama_sampler_temp_clone(const struct llama_sampler * smpl) {
976 const auto * ctx = (const llama_sampler_temp *) smpl->ctx;

Callers

nothing calls this directly

Calls 1

llama_sampler_temp_implFunction · 0.85

Tested by

no test coverage detected