Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14116
int32_t llama_model_n_head(const llama_model * model) {
14117
return model->hparams.n_head();
14118
}
14119
14120
int32_t llama_model_n_head_kv(const llama_model * model) {
14121
return model->hparams.n_head_kv();
Callers
1
llama_n_head
Function · 0.85
Calls
1
n_head
Method · 0.80
Tested by
no test coverage detected