Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
RapidASR
Commits
1b3197db
Commit
1b3197db
authored
Mar 08, 2023
by
mayong
Browse files
update files.
parent
2a6a5c5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
cpp_onnx/src/commonfunc.h
cpp_onnx/src/commonfunc.h
+8
-0
cpp_onnx/src/precomp.h
cpp_onnx/src/precomp.h
+2
-1
No files found.
cpp_onnx/src/commonfunc.h
View file @
1b3197db
...
...
@@ -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
cpp_onnx/src/precomp.h
View file @
1b3197db
...
...
@@ -15,8 +15,9 @@
#include <math.h>
#include <numeric>
#include <cstring>
#include <sys/types.h>
#include <sys/stat.h>
using
namespace
std
;
// third part
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment