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

Whisper model configuration for spoken language identification. More...

#include <cxx-api.h>

Collaboration diagram for sherpa_onnx::cxx::SpokenLanguageIdentificationWhisperConfig:

Public Attributes

std::string encoder
std::string decoder
int32_t tail_paddings = 0

Detailed Description

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

Member Data Documentation

◆ decoder

std::string sherpa_onnx::cxx::SpokenLanguageIdentificationWhisperConfig::decoder

Whisper decoder model.

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

◆ encoder

std::string sherpa_onnx::cxx::SpokenLanguageIdentificationWhisperConfig::encoder

Whisper encoder model.

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

◆ tail_paddings

int32_t sherpa_onnx::cxx::SpokenLanguageIdentificationWhisperConfig::tail_paddings = 0

Optional tail padding in samples.

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


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