MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / llama_model_n_layer

Function llama_model_n_layer

llama_cpp/llama_cpp.py:1744–1744  ·  view source on GitHub ↗
(model: llama_model_p, /)

Source from the content-addressed store, hash-verified

1742# LLAMA_API int32_t llama_model_n_layer (const struct llama_model * model);
1743@ctypes_function("llama_model_n_layer", [llama_model_p_ctypes], ctypes.c_int32)
1744def llama_model_n_layer(model: llama_model_p, /) -> int: ...
1745
1746
1747# LLAMA_API int32_t llama_model_n_layer_nextn(const struct llama_model * model);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…