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:
387
387
# Can be mutated in order to change the probabilities of the next token
388
388
# Rows: n_tokens
389
389
# 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
391
391
return _lib .llama_get_logits (ctx )
392
392
393
393
@@ -397,7 +397,7 @@ def llama_get_logits(ctx: llama_context_p):
397
397
398
398
# Get the embeddings for the input
399
399
# 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
401
401
return _lib .llama_get_embeddings (ctx )
402
402
403
403
You can’t perform that action at this time.
0 commit comments