Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appdevforall/CodeOnTheGo
/ get_n_tokens
Method
get_n_tokens
subprojects/llama.cpp/src/llama-batch.cpp:439–441 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
437
}
438
439
uint32_t llama_batch_allocr::get_n_tokens() const {
440
return batch.n_tokens;
441
}
442
443
uint32_t llama_batch_allocr::get_n_outputs() const {
444
return n_outputs;
Callers
8
init_batch
Method · 0.80
init_batch
Method · 0.80
init_batch
Method · 0.80
encode
Method · 0.80
decode
Method · 0.80
opt_epoch_iter
Method · 0.80
init_batch
Method · 0.80
init_batch
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected