We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a52f4c commit 41049e6Copy full SHA for 41049e6
include/llama.h
@@ -510,6 +510,7 @@ extern "C" {
510
LLAMA_API float llama_model_rope_freq_scale_train(const struct llama_model * model);
511
512
// Returns the number of classifier outputs (only valid for classifier models)
513
+ // Undefined behavior for non-classifier models
514
LLAMA_API uint32_t llama_model_n_cls_out(const struct llama_model * model);
515
516
// Returns label of classifier output by index (<n_cls_out). Returns nullptr if no label provided
0 commit comments