|
pulsatrix
|
Sample-level image Transforms – resize, center-crop, normalize, horizontal flip. More...

Go to the source code of this file.
Classes | |
| class | pulsatrix::ResizeTransform |
| Every transform in this file operates on sample.fields[0], assumed to be an image Tensor of shape (1, channels, height, width) – the convention MnistDatasetAdapter, CsvDataset, and ImageDecoder all already share (image/features first, label last). More... | |
| class | pulsatrix::CenterCropTransform |
| Crops the centered (crop_height, crop_width) region of the image. More... | |
| class | pulsatrix::NormalizeTransform |
| Per-channel normalization: pixel = (pixel - mean[c]) / std[c]. In-place, no backend needed (same shape in and out). More... | |
| class | pulsatrix::HorizontalFlipTransform |
| Mirrors the image left-right. In-place, no backend needed (same shape). More... | |
Namespaces | |
| namespace | pulsatrix |
Sample-level image Transforms – resize, center-crop, normalize, horizontal flip.