MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / llama_n_layer

Function llama_n_layer

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

Source from the content-addressed store, hash-verified

1652# DEPRECATED(LLAMA_API int32_t llama_n_layer (const struct llama_model * model), "use llama_model_n_layer instead");
1653@ctypes_function("llama_n_layer", [llama_model_p_ctypes], ctypes.c_int32)
1654def llama_n_layer(model: llama_model_p, /) -> int: ...
1655
1656
1657_llama_n_layer = llama_n_layer

Callers

nothing calls this directly

Calls 1

_warn_deprecatedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…