MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llama_memory_clear

Function llama_memory_clear

subprojects/llama.cpp/src/llama-context.cpp:3262–3268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3260}
3261
3262void llama_memory_clear(llama_memory_t mem, bool data) {
3263 if (!mem) {
3264 return;
3265 }
3266
3267 mem->clear(data);
3268}
3269
3270bool llama_memory_seq_rm(
3271 llama_memory_t mem,

Callers 15

mainFunction · 0.85
get_hidden_layersFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
perplexity_v2Function · 0.85
perplexityFunction · 0.85
hellaswag_scoreFunction · 0.85
winogrande_scoreFunction · 0.85

Calls 1

clearMethod · 0.65

Tested by 1

draftMethod · 0.68