ChannelShuffle<T>
Models & Types · AiDotNet.Augmentation.Image
Randomly shuffles the order of color channels.
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → ChannelShuffle<T>
How It Works
Randomly permutes the RGB channels (e.g., RGB → BRG or GBR). This teaches models to be robust to color channel ordering and can prevent overfitting to specific color patterns.
Constructors
| Constructor | Summary |
|---|---|
ChannelShuffle(double probability) |