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

Method get_map

examples/llama-bench/llama-bench.cpp:633–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631 }
632
633 std::map<std::string, std::string> get_map() const {
634 std::map<std::string, std::string> map;
635 auto fields = get_fields();
636 auto values = get_values();
637 std::transform(fields.begin(), fields.end(), values.begin(),
638 std::inserter(map, map.end()), std::make_pair<const std::string &, const std::string &>);
639 return map;
640 }
641};
642
643const std::string test::build_commit = LLAMA_COMMIT;

Callers 1

print_testMethod · 0.45

Calls 3

transformFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected