mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-20 06:07:53 +00:00
Sync from bytedesk-private: update
This commit is contained in:
20
modules/python/vendors/FunASR/runtime/onnxruntime/include/tpass-online-stream.h
vendored
Normal file
20
modules/python/vendors/FunASR/runtime/onnxruntime/include/tpass-online-stream.h
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef TPASS_ONLINE_STREAM_H
|
||||
#define TPASS_ONLINE_STREAM_H
|
||||
|
||||
#include <memory>
|
||||
#include "tpass-stream.h"
|
||||
#include "model.h"
|
||||
#include "vad-model.h"
|
||||
|
||||
namespace funasr {
|
||||
class TpassOnlineStream {
|
||||
public:
|
||||
TpassOnlineStream(TpassStream* tpass_stream, std::vector<int> chunk_size);
|
||||
~TpassOnlineStream(){};
|
||||
|
||||
std::unique_ptr<VadModel> vad_online_handle = nullptr;
|
||||
std::unique_ptr<Model> asr_online_handle = nullptr;
|
||||
};
|
||||
TpassOnlineStream* CreateTpassOnlineStream(void* tpass_stream, std::vector<int> chunk_size);
|
||||
} // namespace funasr
|
||||
#endif
|
||||
Reference in New Issue
Block a user