MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / common_batch_clear

Function common_batch_clear

common/common.cpp:1544–1546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1542//
1543
1544void common_batch_clear(struct llama_batch & batch) {
1545 batch.n_tokens = 0;
1546}
1547
1548void common_batch_add(
1549 struct llama_batch & batch,

Callers 15

mainFunction · 0.85
generate_responseFunction · 0.85
mainFunction · 0.85
perplexity_v2Function · 0.85
hellaswag_scoreFunction · 0.85
winogrande_scoreFunction · 0.85
multiple_choice_scoreFunction · 0.85
kl_divergenceFunction · 0.85
update_slotsMethod · 0.85
compute_imatrixFunction · 0.85
mainFunction · 0.85
draftMethod · 0.85

Calls

no outgoing calls

Tested by 4

mainFunction · 0.68
draftMethod · 0.68
mainFunction · 0.68
mainFunction · 0.68