C# API for speaker diarization (#1407)
This commit is contained in:
20
scripts/dotnet/FastClusteringConfig.cs
Normal file
20
scripts/dotnet/FastClusteringConfig.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user