haoneng.lhn
2023-06-27 8042c5174589c9d3337e0cebe15e005d2fa800ab
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