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

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

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::OfflineSpeakerSegmentationModelConfig:

Public Attributes

OfflineSpeakerSegmentationPyannoteModelConfig pyannote
 
int32_t num_threads = 1
 
bool debug = false
 
std::string provider = "cpu"
 

Detailed Description

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

Member Data Documentation

◆ debug

bool sherpa_onnx::cxx::OfflineSpeakerSegmentationModelConfig::debug = false

Enable verbose debug logging.

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

◆ num_threads

int32_t sherpa_onnx::cxx::OfflineSpeakerSegmentationModelConfig::num_threads = 1

Number of inference threads.

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

◆ provider

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

Execution provider such as "cpu".

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

◆ pyannote

OfflineSpeakerSegmentationPyannoteModelConfig sherpa_onnx::cxx::OfflineSpeakerSegmentationModelConfig::pyannote

Pyannote segmentation model configuration.

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


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