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
e729ec95
"test/srt/old/test_httpserver_decode_stream.py" did not exist on "ee1df26a77971f004444c118eabb7998dbafb14a"
Commit
e729ec95
authored
Feb 26, 2023
by
mayong
Browse files
update files.
parent
8b3a8f8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
cpp_onnx/src/lib/CMakeLists.txt
cpp_onnx/src/lib/CMakeLists.txt
+2
-4
cpp_onnx/src/lib/FeatureQueue.cpp
cpp_onnx/src/lib/FeatureQueue.cpp
+1
-6
cpp_onnx/src/lib/precomp.h
cpp_onnx/src/lib/precomp.h
+8
-3
No files found.
cpp_onnx/src/lib/CMakeLists.txt
View file @
e729ec95
...
...
@@ -17,6 +17,7 @@ if(WIN32)
target_link_directories
(
rapidasr PUBLIC
${
CMAKE_SOURCE_DIR
}
/win/lib/x86
)
endif
()
target_include_directories
(
rapidasr PUBLIC
${
CMAKE_SOURCE_DIR
}
/win/include
${
CMAKE_SOURCE_DIR
}
/win/include/openblas
)
include_directories
(
${
ONNXRUNTIME_DIR
}
\\include
)
else
()
...
...
@@ -32,12 +33,9 @@ else()
target_include_directories
(
rapidasr PUBLIC
${
OPENBLAS_INCLUDE_DIR
}
${
FFTW3F_INCLUDE_DIR
}
)
target_link_directories
(
rapidasr PUBLIC
${
OPENBLAS_LIBRARY_DIR
}
${
FFTW3F_LIBRARY_DIR
}
)
include_directories
(
${
ONNXRUNTIME_DIR
}
/include
)
endif
()
include_directories
(
${
ONNXRUNTIME_DIR
}
\\include
)
message
(
${
ONNXRUNTIME_DIR
}
\\lib
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/include
)
target_link_libraries
(
rapidasr PUBLIC onnxruntime
${
EXTRA_LIBS
}
)
...
...
cpp_onnx/src/lib/FeatureQueue.cpp
View file @
e729ec95
#include "FeatureQueue.h"
#include "CommonStruct.h"
#include <string>
#include <ComDefine.h>
#include "precomp.h"
FeatureQueue
::
FeatureQueue
()
{
buff
=
new
Tensor
<
float
>
(
67
,
80
);
...
...
cpp_onnx/src/lib/precomp.h
View file @
e729ec95
#pragma once
// system
#include "alignedmem.h"
#include <iostream>
#include <stdint.h>
#include <stdlib.h>
...
...
@@ -16,6 +16,8 @@
#include <numeric>
#include <cstring>
using
namespace
std
;
// third part
...
...
@@ -25,19 +27,22 @@ using namespace std;
// mine
#include "commonfunc.h"
#include <ComDefine.h>
#include "predefine_coe.h"
#include <ComDefine.h>
//#include "alignedmem.h"
#include "Vocab.h"
#include "util.h"
#include "CommonStruct.h"
#include "FeatureExtract.h"
#include "FeatureQueue.h"
#include "SpeechWrap.h"
#include "Model.h"
#include "paraformer_onnx.h"
using
namespace
paraformer
;
\ No newline at end of file
using
namespace
paraformer
;
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