MCPcopy 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
439uint32_t llama_batch_allocr::get_n_tokens() const {
440 return batch.n_tokens;
441}
442
443uint32_t llama_batch_allocr::get_n_outputs() const {
444 return n_outputs;

Callers 8

init_batchMethod · 0.80
init_batchMethod · 0.80
init_batchMethod · 0.80
encodeMethod · 0.80
decodeMethod · 0.80
opt_epoch_iterMethod · 0.80
init_batchMethod · 0.80
init_batchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected