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

Configuration for spoken language identification. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::SpokenLanguageIdentificationConfig:

Public Attributes

SpokenLanguageIdentificationWhisperConfig whisper
 
int32_t num_threads = 1
 
bool debug = false
 
std::string provider = "cpu"
 

Detailed Description

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

Member Data Documentation

◆ debug

bool sherpa_onnx::cxx::SpokenLanguageIdentificationConfig::debug = false

Enable verbose debug logging.

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

◆ num_threads

int32_t sherpa_onnx::cxx::SpokenLanguageIdentificationConfig::num_threads = 1

Number of inference threads.

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

◆ provider

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

Execution provider such as "cpu".

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

◆ whisper

SpokenLanguageIdentificationWhisperConfig sherpa_onnx::cxx::SpokenLanguageIdentificationConfig::whisper

Whisper model configuration.

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


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