Skip to content

Commit 41049e6

Browse files
authored
be more specific about behaviour
1 parent 3a52f4c commit 41049e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/llama.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ extern "C" {
510510
LLAMA_API float llama_model_rope_freq_scale_train(const struct llama_model * model);
511511

512512
// Returns the number of classifier outputs (only valid for classifier models)
513+
// Undefined behavior for non-classifier models
513514
LLAMA_API uint32_t llama_model_n_cls_out(const struct llama_model * model);
514515

515516
// Returns label of classifier output by index (<n_cls_out). Returns nullptr if no label provided

0 commit comments

Comments
 (0)