Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ common_sampler_last
Function
common_sampler_last
smallthinker/common/sampling.cpp:433–435 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
431
}
432
433
llama_token common_sampler_last(const struct common_sampler * gsmpl) {
434
return gsmpl->prev.rat(0);
435
}
436
437
std::string common_sampler_print(const struct common_sampler * gsmpl) {
438
std::string result =
"logits "
;
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected