Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ probability_from_logit
Method
probability_from_logit
llama.cpp:8744–8746 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8742
return min_heap;
8743
}
8744
float probability_from_logit(float logit) const {
8745
return normalizer * std::exp(logit - max_l);
8746
}
8747
};
8748
8749
struct llama_beam_search_data {
Callers
1
fill_next_beams_by_top_probabilities
Method · 0.80
Calls
1
exp
Function · 0.85
Tested by
no test coverage detected