sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
SherpaOnnxSpokenLanguageIdentificationWhisperConfig Struct Reference

Whisper-based model files for spoken language identification. More...

#include <c-api.h>

Public Attributes

const char * encoder
 
const char * decoder
 
int32_t tail_paddings
 

Detailed Description

Example:

memset(&whisper, 0, sizeof(whisper));
whisper.encoder = "./sherpa-onnx-whisper-tiny/tiny-encoder.int8.onnx";
whisper.decoder = "./sherpa-onnx-whisper-tiny/tiny-decoder.int8.onnx";
Whisper-based model files for spoken language identification.
Definition c-api.h:2899

Definition at line 2899 of file c-api.h.

Member Data Documentation

◆ decoder

const char* SherpaOnnxSpokenLanguageIdentificationWhisperConfig::decoder

Whisper decoder model.

Definition at line 2903 of file c-api.h.

◆ encoder

const char* SherpaOnnxSpokenLanguageIdentificationWhisperConfig::encoder

Whisper encoder model.

Definition at line 2901 of file c-api.h.

◆ tail_paddings

int32_t SherpaOnnxSpokenLanguageIdentificationWhisperConfig::tail_paddings

Optional tail padding in samples appended internally before inference.

Definition at line 2905 of file c-api.h.


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