Table of Contents

Class SSLAugmentationContext<T>

Namespace
AiDotNet.SelfSupervisedLearning
Assembly
AiDotNet.dll

Context for SSL augmentation operations.

public class SSLAugmentationContext<T>

Type Parameters

T

The 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

bool

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

double

TotalViews

Gets or sets the total number of views being generated.

public int TotalViews { get; set; }

Property Value

int

ViewIndex

Gets or sets the view index for methods that use more than 2 views.

public int ViewIndex { get; set; }

Property Value

int