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

Function llama_get_logits_ith

smallthinker/src/llama-context.cpp:2351–2355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2349}
2350
2351float * llama_get_logits_ith(llama_context * ctx, int32_t i) {
2352 ctx->synchronize();
2353
2354 return ctx->get_logits_ith(i);
2355}
2356
2357float * llama_get_embeddings(llama_context * ctx) {
2358 ctx->synchronize();

Callers 4

llama_sampler_sampleFunction · 0.70
perplexityFunction · 0.50
get_token_probabilitiesFunction · 0.50
set_logitsMethod · 0.50

Calls 2

synchronizeMethod · 0.80
get_logits_ithMethod · 0.80

Tested by

no test coverage detected