hnluo
2023-06-05 594b79f59e7eefa6955c729f6264c8c99d1d9571
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