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

Function llama_get_embeddings

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

Source from the content-addressed store, hash-verified

2355}
2356
2357float * llama_get_embeddings(llama_context * ctx) {
2358 ctx->synchronize();
2359
2360 return ctx->get_embeddings();
2361}
2362
2363float * llama_get_embeddings_ith(llama_context * ctx, int32_t i) {
2364 ctx->synchronize();

Callers 1

mainFunction · 0.50

Calls 2

synchronizeMethod · 0.80
get_embeddingsMethod · 0.80

Tested by

no test coverage detected