MCPcopy Create free account
hub / github.com/alibaba/MNN / log_result

Function log_result

tools/cpp/testModel_expr.cpp:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#define BOLD "\e[1m"
34
35void log_result(bool correct) {
36 if (correct) {
37#if defined(_MSC_VER)
38 std::cout << "Correct!" << std::endl;
39#else
40 std::cout << GREEN << BOLD << "Correct!" << NONE << std::endl;
41#endif
42 }
43}
44
45template<typename T>
46inline T stringConvert(const char* number) {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected