Logits for the ith token. Equivalent to: llama_get_logits(ctx) + i*n_vocab
(
ctx: llama_context_p, i: Union[ctypes.c_int32, int], /
)
| 3211 | ctypes.POINTER(ctypes.c_float), |
| 3212 | ) |
| 3213 | def llama_get_logits_ith( |
| 3214 | ctx: llama_context_p, i: Union[ctypes.c_int32, int], / |
| 3215 | ) -> CtypesArray[ctypes.c_float]: |
| 3216 | """Logits for the ith token. Equivalent to: |
| 3217 | llama_get_logits(ctx) + i*n_vocab""" |
| 3218 | ... |
| 3219 | |
| 3220 | |
| 3221 | # // Get all output token embeddings. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…