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

Pyannote speaker-segmentation model configuration. More...

#include <c-api.h>

Public Attributes

const char * model
 
float window_shift_ratio
 

Detailed Description

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

Member Data Documentation

◆ model

const char* SherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig::model

Segmentation model filename.

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

◆ window_shift_ratio

float SherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig::window_shift_ratio

Sliding-window shift as a fraction of the model window size.

Must be in (0, 1]. Set to 0 (or a negative value) to use the default of 0.1.

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


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