嘉渊
2023-05-25 cefa8ff17e3e2f4a7745d15a59beef0a255fabfd
funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,5 +1,7 @@
#pragma once 
#include <algorithm>
namespace funasr {
typedef struct
{
    std::string msg;
@@ -58,3 +60,4 @@
inline static size_t Argmax(ForwardIterator first, ForwardIterator last) {
    return std::distance(first, std::max_element(first, last));
}
} // namespace funasr