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

Function llama_model_n_embd

smallthinker/src/llama-model.cpp:14108–14110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14106}
14107
14108int32_t llama_model_n_embd(const llama_model * model) {
14109 return model->hparams.n_embd;
14110}
14111
14112int32_t llama_model_n_layer(const llama_model * model) {
14113 return model->hparams.n_layer;

Callers 11

mainFunction · 0.85
mtmd_contextMethod · 0.85
mainFunction · 0.85
send_embeddingMethod · 0.85
model_metaMethod · 0.85
llama_n_embdFunction · 0.85
mainFunction · 0.85
encodeFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected