|
pulsatrix
|
A single sample-level preprocessing step (normalize, augment, tokenize, ...). More...
#include <transform.hpp>

Public Member Functions | |
| virtual | ~Transform ()=default |
| virtual Sample | apply (Sample sample) const =0 |
| Applies this transform to a sample. | |
A single sample-level preprocessing step (normalize, augment, tokenize, ...).
|
virtualdefault |
Applies this transform to a sample.
| sample | Input sample. |
Implemented in pulsatrix::ResampleTransform, pulsatrix::ResizeTransform, pulsatrix::CenterCropTransform, pulsatrix::NormalizeTransform, pulsatrix::HorizontalFlipTransform, pulsatrix::Compose, and pulsatrix::UniformFrameSampleTransform.