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

Function llama_get_embeddings_ith

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

Source from the content-addressed store, hash-verified

2361}
2362
2363float * llama_get_embeddings_ith(llama_context * ctx, int32_t i) {
2364 ctx->synchronize();
2365
2366 return ctx->get_embeddings_ith(i);
2367}
2368
2369float * llama_get_embeddings_seq(llama_context * ctx, llama_seq_id seq_id) {
2370 ctx->synchronize();

Callers 5

send_embeddingMethod · 0.85
send_rerankMethod · 0.85
batch_decodeFunction · 0.85
encodeFunction · 0.85
batch_processFunction · 0.85

Calls 2

synchronizeMethod · 0.80
get_embeddings_ithMethod · 0.80

Tested by

no test coverage detected