MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llama_model_n_layer

Function llama_model_n_layer

subprojects/llama.cpp/src/llama-model.cpp:8167–8169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8165}
8166
8167int32_t llama_model_n_layer(const llama_model * model) {
8168 return model->hparams.n_layer;
8169}
8170
8171int32_t llama_model_n_head(const llama_model * model) {
8172 return model->hparams.n_head();

Callers 3

mainFunction · 0.85
llama_n_layerFunction · 0.85
common_init_from_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected