llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
LlamaContext.getLogits
llama
ctx
LlamaContext
Logits at output position
idx
(-1 = last). Valid until the next decode call.
struct
LlamaContext
@
trusted
@
nogc
nothrow
const
(
float
)[]
getLogits
(
int
idx
= -1
)
Meta
Source
See Implementation
llama
ctx
LlamaContext
functions
decode
encode
getEmbeddings
getEmbeddingsIth
getEmbeddingsSeq
getLogits
memoryClear
printPerf
stateGetData
stateGetSize
stateLoadFile
stateSaveFile
stateSeqGetData
stateSeqGetSize
stateSeqSetData
stateSetData
mixins
__anonymous
properties
memory
nCtx
poolingType
static functions
fromModel
Logits at output position idx (-1 = last). Valid until the next decode call.