From 3e8159e5b0f6e7e96d4e6ca1f4b4d8ccb151ace5 Mon Sep 17 00:00:00 2001
From: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Date: 星期四, 20 七月 2023 18:43:38 +0800
Subject: [PATCH] add lora finetune code
---
funasr/runtime/onnxruntime/include/audio.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/include/audio.h b/funasr/runtime/onnxruntime/include/audio.h
index d2100a4..a1b6312 100644
--- a/funasr/runtime/onnxruntime/include/audio.h
+++ b/funasr/runtime/onnxruntime/include/audio.h
@@ -55,6 +55,9 @@
bool LoadPcmwav(const char* buf, int n_file_len, int32_t* sampling_rate);
bool LoadPcmwav(const char* filename, int32_t* sampling_rate);
bool LoadPcmwav2Char(const char* filename, int32_t* sampling_rate);
+ bool LoadOthers2Char(const char* filename);
+ bool FfmpegLoad(const char *filename);
+ bool FfmpegLoad(const char* buf, int n_file_len);
int FetchChunck(float *&dout, int len);
int Fetch(float *&dout, int &len, int &flag);
void Padding();
--
Gitblit v1.9.1