llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
LlamaContext.memory
llama
ctx
LlamaContext
Raw memory handle. Use for sequence management (copy, remove, shift, etc.).
struct
LlamaContext
@
property
@
nogc
nothrow
llama_memory_t
memory
(
)
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
Raw memory handle. Use for sequence management (copy, remove, shift, etc.).