sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
sherpa_onnx::cxx::OfflineSpeechDenoiserModelConfig Struct Reference

Speech denoiser model configuration. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::OfflineSpeechDenoiserModelConfig:

Public Attributes

OfflineSpeechDenoiserGtcrnModelConfig gtcrn
 
OfflineSpeechDenoiserDpdfNetModelConfig dpdfnet
 
int32_t num_threads = 1
 
bool debug = false
 
std::string provider = "cpu"
 

Detailed Description

Configure exactly one model family. If multiple model families are set, one is chosen and the choice is implementation-defined.

Definition at line 1229 of file cxx-api.h.

Member Data Documentation

◆ debug

bool sherpa_onnx::cxx::OfflineSpeechDenoiserModelConfig::debug = false

Enable verbose debug logging.

Definition at line 1237 of file cxx-api.h.

◆ dpdfnet

OfflineSpeechDenoiserDpdfNetModelConfig sherpa_onnx::cxx::OfflineSpeechDenoiserModelConfig::dpdfnet

DPDFNet configuration.

Definition at line 1233 of file cxx-api.h.

◆ gtcrn

OfflineSpeechDenoiserGtcrnModelConfig sherpa_onnx::cxx::OfflineSpeechDenoiserModelConfig::gtcrn

GTCRN configuration.

Definition at line 1231 of file cxx-api.h.

◆ num_threads

int32_t sherpa_onnx::cxx::OfflineSpeechDenoiserModelConfig::num_threads = 1

Number of inference threads.

Definition at line 1235 of file cxx-api.h.

◆ provider

std::string sherpa_onnx::cxx::OfflineSpeechDenoiserModelConfig::provider = "cpu"

Execution provider such as "cpu".

Definition at line 1239 of file cxx-api.h.


The documentation for this struct was generated from the following file: