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

Fast clustering configuration. More...

#include <cxx-api.h>

Public Attributes

int32_t num_clusters = 0
 
float threshold = 0.5
 

Detailed Description

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

Member Data Documentation

◆ num_clusters

int32_t sherpa_onnx::cxx::FastClusteringConfig::num_clusters = 0

Known number of speakers. If > 0, threshold-based clustering is bypassed.

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

◆ threshold

float sherpa_onnx::cxx::FastClusteringConfig::threshold = 0.5

Distance threshold used when the number of speakers is unknown.

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


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