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

Function llama_set_embeddings

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

Source from the content-addressed store, hash-verified

2327}
2328
2329void llama_set_embeddings(llama_context * ctx, bool embeddings) {
2330 ctx->set_embeddings(embeddings);
2331}
2332
2333void llama_set_causal_attn(llama_context * ctx, bool causal_attn) {
2334 ctx->set_causal_attn(causal_attn);

Callers 3

update_slotsMethod · 0.85
encodeFunction · 0.85
generateFunction · 0.85

Calls 1

set_embeddingsMethod · 0.80

Tested by

no test coverage detected