hnluo
2023-06-01 2c58f0b8c2179aa956db28be95f7dac60301a74a
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