Class ECAPATDNNOptions
- Namespace
- AiDotNet.Audio.LanguageIdentification
- Assembly
- AiDotNet.dll
Configuration options specific to ECAPA-TDNN language identification.
public class ECAPATDNNOptions : LanguageIdentifierOptions
- Inheritance
-
ECAPATDNNOptions
- Derived
- Inherited Members
Properties
AttentionHeads
Gets or sets the number of attention heads.
public int AttentionHeads { get; set; }
Property Value
- int
Default is 8.
Dilations
Gets or sets the dilation factors for TDNN layers.
public int[] Dilations { get; set; }
Property Value
- int[]
Default is [1, 2, 3, 4, 1].
TdnnChannels
Gets or sets the number of TDNN channels.
public int TdnnChannels { get; set; }
Property Value
- int
Default is 1024.
UseChannelAttention
Gets or sets whether to use channel attention.
public bool UseChannelAttention { get; set; }
Property Value
- bool
Default is true.