File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -956,6 +956,7 @@ extern "C" {
956956 // in the order they have appeared in the batch.
957957 // Rows: number of tokens for which llama_batch.logits[i] != 0
958958 // Cols: n_vocab
959+ // TODO: deprecate in favor of llama_get_logits_ith() (ref: https://github.com/ggml-org/llama.cpp/pull/14853#issuecomment-3113143522)
959960 LLAMA_API float * llama_get_logits (struct llama_context * ctx);
960961
961962 // Logits for the ith token. For positive indices, Equivalent to:
@@ -970,6 +971,7 @@ extern "C" {
970971 // in the order they have appeared in the batch.
971972 // shape: [n_outputs*n_embd]
972973 // Otherwise, returns NULL.
974+ // TODO: deprecate in favor of llama_get_embeddings_ith() (ref: https://github.com/ggml-org/llama.cpp/pull/14853#issuecomment-3113143522)
973975 LLAMA_API float * llama_get_embeddings (struct llama_context * ctx);
974976
975977 // Get the embeddings for the ith token. For positive indices, Equivalent to:
You can’t perform that action at this time.
0 commit comments