Package ai.djl.translate
Interface Transform
-
- All Known Implementing Classes:
CenterCrop
,Crop
,Normalize
,OneHot
,RandomBrightness
,RandomColorJitter
,RandomFlipLeftRight
,RandomFlipTopBottom
,RandomHue
,RandomResizedCrop
,Resize
,ToTensor
public interface Transform
An 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 NDArray
transform(NDArray array)
Applies theTransform
to the givenNDArray
.
-