Class SSLAugmentationContext<T>
- Namespace
- AiDotNet.SelfSupervisedLearning
- Assembly
- AiDotNet.dll
Context for SSL augmentation operations.
public class SSLAugmentationContext<T>
Type Parameters
TThe numeric type used for computations.
- Inheritance
-
SSLAugmentationContext<T>
- Inherited Members
Remarks
For Beginners: This provides information and state for creating augmented views. SSL methods typically create multiple views of each input for contrastive/self-supervised learning.
Properties
IsFirstView
Gets or sets whether this is the first view (used in multi-view methods).
public bool IsFirstView { get; set; }
Property Value
PrecomputedView
Gets or sets optional pre-computed augmentations.
public Tensor<T>? PrecomputedView { get; set; }
Property Value
- Tensor<T>
Seed
Gets or sets the random seed for reproducible augmentations.
public int? Seed { get; set; }
Property Value
- int?
StrengthMultiplier
Gets or sets the augmentation strength multiplier.
public double StrengthMultiplier { get; set; }
Property Value
TotalViews
Gets or sets the total number of views being generated.
public int TotalViews { get; set; }
Property Value
ViewIndex
Gets or sets the view index for methods that use more than 2 views.
public int ViewIndex { get; set; }