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

Function llama_get_logits

subprojects/llama.cpp/src/llama-context.cpp:3135–3139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3133}
3134
3135float * llama_get_logits(llama_context * ctx) {
3136 ctx->synchronize();
3137
3138 return ctx->get_logits();
3139}
3140
3141float * llama_get_logits_ith(llama_context * ctx, int32_t i) {
3142 ctx->synchronize();

Callers 5

perplexity_v2Function · 0.85
perplexityFunction · 0.85
decode_helperFunction · 0.85
kl_divergenceFunction · 0.85
compute_imatrixFunction · 0.85

Calls 2

synchronizeMethod · 0.80
get_logitsMethod · 0.45

Tested by

no test coverage detected