MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / LLM_KV

Class LLM_KV

llama.cpp:367–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365};
366
367struct LLM_KV {
368 LLM_KV(llm_arch arch) : arch(arch) {}
369
370 llm_arch arch;
371
372 std::string operator()(llm_kv kv) const {
373 return ::format(LLM_KV_NAMES[kv].c_str(), LLM_ARCH_NAMES[arch].c_str());
374 }
375};
376
377enum llm_tensor {
378 LLM_TENSOR_TOKEN_EMBD,

Callers 3

get_arch_nameMethod · 0.70
llm_load_hparamsFunction · 0.70
llm_load_vocabFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected