Class TransformerSearchSpace<T>
- Namespace
- AiDotNet.AutoML.SearchSpace
- Assembly
- AiDotNet.dll
Defines the Transformer-based search space for neural architecture search. Includes attention mechanisms, feed-forward networks, and various architectural choices.
public class TransformerSearchSpace<T> : SearchSpaceBase<T>
Type Parameters
TThe numeric type for calculations
- Inheritance
-
TransformerSearchSpace<T>
- Inherited Members
Constructors
TransformerSearchSpace()
public TransformerSearchSpace()
Properties
AttentionHeads
Number of attention heads to search over
public List<int> AttentionHeads { get; set; }
Property Value
DropoutRates
Dropout rates to search over
public List<double> DropoutRates { get; set; }
Property Value
FeedForwardMultipliers
Feed-forward expansion ratios
public List<int> FeedForwardMultipliers { get; set; }
Property Value
HiddenDimensions
Hidden dimensions to consider
public List<int> HiddenDimensions { get; set; }
Property Value
UsePreNorm
Whether to use Pre-LayerNorm (true) or Post-LayerNorm (false)
public bool UsePreNorm { get; set; }