Property AdamDecayMinNDim
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
AdamDecayMinNDim
Gets or sets the minimum number of dimensions a tensor must have for AdamW weight decay to be applied. This ensures that weight decay is only applied to tensors meeting this dimensionality threshold.
public int AdamDecayMinNDim { get; set; }
Property Value
- int
The default value is 2. Tensors with fewer than two dimensions will not undergo weight decay.