MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / operator()

Method operator()

llama.cpp:693–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691 llm_arch arch;
692
693 std::pair<std::string, llm_tensor> operator()(llm_tensor tensor) const {
694 return std::make_pair(LLM_TENSOR_NAMES[arch].at(tensor), tensor);
695 }
696
697 std::pair<std::string, llm_tensor> operator()(llm_tensor tensor, const std::string & suffix) const {
698 return std::make_pair(LLM_TENSOR_NAMES[arch].at(tensor) + "." + suffix, tensor);

Callers

nothing calls this directly

Calls 2

formatFunction · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected