| 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); |