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

Segmentation model configuration for offline speaker diarization. More...

#include <c-api.h>

+ Collaboration diagram for SherpaOnnxOfflineSpeakerSegmentationModelConfig:

Public Attributes

SherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig pyannote
 
int32_t num_threads
 
int32_t debug
 
const char * provider
 

Detailed Description

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

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

Member Data Documentation

◆ debug

int32_t SherpaOnnxOfflineSpeakerSegmentationModelConfig::debug

Non-zero to print debug information.

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

◆ num_threads

int32_t SherpaOnnxOfflineSpeakerSegmentationModelConfig::num_threads

Number of inference threads.

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

◆ provider

const char* SherpaOnnxOfflineSpeakerSegmentationModelConfig::provider

Execution provider such as "cpu".

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

◆ pyannote

SherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig SherpaOnnxOfflineSpeakerSegmentationModelConfig::pyannote

Pyannote segmentation model configuration.

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


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