Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appdevforall/CodeOnTheGo
/ llama_model_n_params
Function
llama_model_n_params
subprojects/llama.cpp/src/llama-model.cpp:8442–8444 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8440
}
8441
8442
uint64_t llama_model_n_params(const llama_model * model) {
8443
return model->n_elements();
8444
}
8445
8446
bool llama_model_has_encoder(const llama_model * model) {
8447
switch (model->arch) {
Callers
3
Java_android_llama_cpp_LLamaAndroid_bench_1model
Function · 0.85
test
Method · 0.85
get_meta
Method · 0.85
Calls
1
n_elements
Method · 0.80
Tested by
no test coverage detected