Returns the total number of parameters in the model
(model: llama_model_p, /)
| 1938 | # LLAMA_API uint64_t llama_model_n_params(const struct llama_model * model); |
| 1939 | @ctypes_function("llama_model_n_params", [llama_model_p_ctypes], ctypes.c_uint64) |
| 1940 | def llama_model_n_params(model: llama_model_p, /) -> int: |
| 1941 | """Returns the total number of parameters in the model""" |
| 1942 | ... |
| 1943 | |
| 1944 | |
| 1945 | # // Returns true if the model contains an encoder that requires llama_encode() call |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…