Get the embeddings for the input shape: [n_embd] (1-dimensional)
(ctx: llama_context_p, /)
| 3230 | "llama_get_embeddings", [llama_context_p_ctypes], ctypes.POINTER(ctypes.c_float) |
| 3231 | ) |
| 3232 | def llama_get_embeddings(ctx: llama_context_p, /) -> CtypesArray[ctypes.c_float]: |
| 3233 | """Get the embeddings for the input |
| 3234 | shape: [n_embd] (1-dimensional)""" |
| 3235 | ... |
| 3236 | |
| 3237 | |
| 3238 | # // Get the embeddings for the ith token. For positive indices, Equivalent to: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…