Package ai.djl.translate
Interface Transform
-
- All Known Implementing Classes:
CenterCrop,Crop,Normalize,OneHot,RandomBrightness,RandomColorJitter,RandomFlipLeftRight,RandomFlipTopBottom,RandomHue,RandomResizedCrop,Resize,ToTensor
public interface TransformAn interface to apply various transforms to the input.A transform can be any function that modifies the input. Some examples of transform are crop and resize.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NDArraytransform(NDArray array)Applies theTransformto the givenNDArray.
-