C# API for speaker diarization (#1407)

This commit is contained in:
Fangjun Kuang
2024-10-10 14:29:05 +08:00
committed by GitHub
parent bd50e79590
commit a45e5dba99
12 changed files with 408 additions and 51 deletions

View File

@@ -0,0 +1,20 @@
/// Copyright (c) 2024 Xiaomi Corporation
using System.Runtime.InteropServices;
namespace SherpaOnnx
{
[StructLayout(LayoutKind.Sequential)]
public struct FastClusteringConfig
{
public FastClusteringConfig()
{
NumClusters = -1;
Threshold = 0.5F;
}
public int NumClusters;
public float Threshold;
}
}