LlamaContext.stateLoadFile

Load state from a session file. On success tokensOut is filled and tokenCount holds the number of tokens read; returns true.

struct LlamaContext
@trusted nothrow
bool
stateLoadFile
(
string path
,
llama_token[] tokensOut
,
scope size_t* tokenCount
)

Meta