MCPcopy 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
8442uint64_t llama_model_n_params(const llama_model * model) {
8443 return model->n_elements();
8444}
8445
8446bool llama_model_has_encoder(const llama_model * model) {
8447 switch (model->arch) {

Callers 3

testMethod · 0.85
get_metaMethod · 0.85

Calls 1

n_elementsMethod · 0.80

Tested by

no test coverage detected