Support whisper models (#238)

This commit is contained in:
Fangjun Kuang
2023-08-07 12:34:18 +08:00
committed by GitHub
parent 64efbd82af
commit 45b9d4ab37
39 changed files with 1836 additions and 52 deletions

View File

@@ -0,0 +1,19 @@
// sherpa-onnx/csrc/base64-decode.h
//
// Copyright (c) 2022-2023 Xiaomi Corporation
#ifndef SHERPA_ONNX_CSRC_BASE64_DECODE_H_
#define SHERPA_ONNX_CSRC_BASE64_DECODE_H_
#include <string>
namespace sherpa_onnx {
/** @param s A base64 encoded string.
* @return Return the decoded string.
*/
std::string Base64Decode(const std::string &s);
} // namespace sherpa_onnx
#endif // SHERPA_ONNX_CSRC_BASE64_DECODE_H_