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

Function llama_model_n_head

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

Source from the content-addressed store, hash-verified

14114}
14115
14116int32_t llama_model_n_head(const llama_model * model) {
14117 return model->hparams.n_head();
14118}
14119
14120int32_t llama_model_n_head_kv(const llama_model * model) {
14121 return model->hparams.n_head_kv();

Callers 1

llama_n_headFunction · 0.85

Calls 1

n_headMethod · 0.80

Tested by

no test coverage detected