Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ llama_model_n_params
Function
llama_model_n_params
smallthinker/src/llama-model.cpp:14307–14309 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14305
}
14306
14307
uint64_t llama_model_n_params(const llama_model * model) {
14308
return model->n_elements();
14309
}
14310
14311
bool llama_model_has_encoder(const llama_model * model) {
14312
switch (model->arch) {
Callers
3
test
Method · 0.50
model_meta
Method · 0.50
Java_android_llama_cpp_LLamaAndroid_bench_1model
Function · 0.50
Calls
1
n_elements
Method · 0.80
Tested by
no test coverage detected