Commit 1b3197db authored by mayong's avatar mayong
Browse files

update files.

parent 2a6a5c5f
...@@ -42,4 +42,12 @@ inline void getOutputName(Ort::Session* session, string& outputName, int nIndex ...@@ -42,4 +42,12 @@ inline void getOutputName(Ort::Session* session, string& outputName, int nIndex
} }
} }
}
inline bool FileIsExist(const string & name)
{
struct stat buffer;
return (stat(name.c_str(), &buffer) == 0);
} }
\ No newline at end of file
...@@ -15,8 +15,9 @@ ...@@ -15,8 +15,9 @@
#include <math.h> #include <math.h>
#include <numeric> #include <numeric>
#include <cstring> #include <cstring>
#include <sys/types.h>
#include <sys/stat.h>
using namespace std; using namespace std;
// third part // third part
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment