Class AugmentationAppliedEventArgs<T>
- Namespace
- AiDotNet.Augmentation
- Assembly
- AiDotNet.dll
Event arguments raised when an augmentation is applied.
public class AugmentationAppliedEventArgs<T> : EventArgs
Type Parameters
TThe numeric type for calculations.
- Inheritance
-
AugmentationAppliedEventArgs<T>
- Inherited Members
Constructors
AugmentationAppliedEventArgs(string, IDictionary<string, object>, int, bool)
Creates a new augmentation applied event.
public AugmentationAppliedEventArgs(string augmentationName, IDictionary<string, object> parameters, int sampleIndex, bool wasApplied)
Parameters
augmentationNamestringThe name of the augmentation.
parametersIDictionary<string, object>The parameters used.
sampleIndexintThe sample index.
wasAppliedboolWhether the augmentation was applied.
Properties
AugmentationName
Gets the name of the augmentation that was applied.
public string AugmentationName { get; }
Property Value
Parameters
Gets the parameters used for this application.
public IDictionary<string, object> Parameters { get; }
Property Value
SampleIndex
Gets the sample index within the batch.
public int SampleIndex { get; }
Property Value
WasApplied
Gets whether the augmentation was actually applied (vs. skipped due to probability).
public bool WasApplied { get; }