MCPcopy 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
14307uint64_t llama_model_n_params(const llama_model * model) {
14308 return model->n_elements();
14309}
14310
14311bool llama_model_has_encoder(const llama_model * model) {
14312 switch (model->arch) {

Callers 3

testMethod · 0.50
model_metaMethod · 0.50

Calls 1

n_elementsMethod · 0.80

Tested by

no test coverage detected