Package ai.djl.modality.cv.transform
Class RandomFlipLeftRight
- java.lang.Object
-
- ai.djl.modality.cv.transform.RandomFlipLeftRight
-
-
Constructor Summary
Constructors Constructor Description RandomFlipLeftRight()
Creates a new instance ofRandomFlipLeftRight
.RandomFlipLeftRight(int seed)
Creates a new instance ofRandomFlipLeftRight
with the given seed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NDArray
transform(NDArray array)
Applies theTransform
to the givenNDArray
.
-