Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appdevforall/CodeOnTheGo
/ common_batch_clear
Function
common_batch_clear
subprojects/llama.cpp/common/common.cpp:1449–1451 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1447
//
1448
1449
void common_batch_clear(struct llama_batch & batch) {
1450
batch.n_tokens = 0;
1451
}
1452
1453
void common_batch_add(
1454
struct llama_batch & batch,
Callers
15
Java_android_llama_cpp_LLamaAndroid_bench_1model
Function · 0.85
Java_android_llama_cpp_LLamaAndroid_completion_1init
Function · 0.85
Java_android_llama_cpp_LLamaAndroid_completion_1loop
Function · 0.85
main
Function · 0.85
generate_response
Function · 0.85
main
Function · 0.85
perplexity_v2
Function · 0.85
hellaswag_score
Function · 0.85
winogrande_score
Function · 0.85
multiple_choice_score
Function · 0.85
kl_divergence
Function · 0.85
update_slots
Method · 0.85
Calls
no outgoing calls
Tested by
2
main
Function · 0.68
draft
Method · 0.68