File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ def llama_n_embd(ctx: llama_context_p) -> c_int:
387387# Can be mutated in order to change the probabilities of the next token
388388# Rows: n_tokens
389389# Cols: n_vocab
390- def llama_get_logits (ctx : llama_context_p ):
390+ def llama_get_logits (ctx : llama_context_p ): # type: (...) -> Array[float] # type: ignore
391391 return _lib .llama_get_logits (ctx )
392392
393393
@@ -397,7 +397,7 @@ def llama_get_logits(ctx: llama_context_p):
397397
398398# Get the embeddings for the input
399399# shape: [n_embd] (1-dimensional)
400- def llama_get_embeddings (ctx : llama_context_p ):
400+ def llama_get_embeddings (ctx : llama_context_p ): # type: (...) -> Array[float] # type: ignore
401401 return _lib .llama_get_embeddings (ctx )
402402
403403
You can’t perform that action at this time.
0 commit comments