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
9b525dd4
Unverified
Commit
9b525dd4
authored
Mar 08, 2023
by
Daniel
Committed by
GitHub
Mar 08, 2023
Browse files
Update tester.cpp
parent
f2021455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cpp_onnx/tester/tester.cpp
cpp_onnx/tester/tester.cpp
+2
-2
No files found.
cpp_onnx/tester/tester.cpp
View file @
9b525dd4
...
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
...
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
gettimeofday
(
&
start
,
NULL
);
gettimeofday
(
&
start
,
NULL
);
RPASR_RESULT
Result
=
RapidAsrRecog
PCM
File
(
AsrHanlde
,
argv
[
2
],
RASR_NONE
,
NULL
);
RPASR_RESULT
Result
=
RapidAsrRecogFile
(
AsrHanlde
,
argv
[
2
],
RASR_NONE
,
NULL
);
gettimeofday
(
&
end
,
NULL
);
gettimeofday
(
&
end
,
NULL
);
float
snippet_time
=
0.0
f
;
float
snippet_time
=
0.0
f
;
if
(
Result
)
if
(
Result
)
...
@@ -72,4 +72,4 @@ int main(int argc, char *argv[])
...
@@ -72,4 +72,4 @@ int main(int argc, char *argv[])
return
0
;
return
0
;
}
}
\ No newline at end of file
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