21 lines
386 B
C#
21 lines
386 B
C#
/// 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;
|
|
}
|
|
}
|