Get the embeddings for the ith sequence llama_get_embeddings(ctx) + i*n_embd
(
ctx: llama_context_p, i: Union[ctypes.c_int32, int], /
)
| 3247 | ctypes.POINTER(ctypes.c_float), |
| 3248 | ) |
| 3249 | def llama_get_embeddings_ith( |
| 3250 | ctx: llama_context_p, i: Union[ctypes.c_int32, int], / |
| 3251 | ) -> CtypesArray[ctypes.c_float]: |
| 3252 | """Get the embeddings for the ith sequence |
| 3253 | llama_get_embeddings(ctx) + i*n_embd""" |
| 3254 | ... |
| 3255 | |
| 3256 | |
| 3257 | # // Get the embeddings for a sequence id |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…