AdversarialPreprocessingMethod

Enums · AiDotNet.Enums

A built-in input-transformation defense that removes adversarial perturbations before the model sees the input.

For Beginners

Each value is a different way of “cleaning” an input so that tiny, carefully crafted changes get erased while the real content survives. To use your own transformation instead, set CustomPreprocessor.

Fields

Field Summary
AdversarialPreprocessingMethod BitDepthReduction Feature squeezing by bit-depth reduction (Xu et al.
AdversarialPreprocessingMethod JpegCompression JPEG compression in the 8 x 8 block DCT domain (Das et al.
AdversarialPreprocessingMethod MedianSmoothing Feature squeezing by local spatial smoothing (Xu et al.
int value__