Package ai.djl.modality.cv.transform
Class Normalize
java.lang.Object
ai.djl.modality.cv.transform.Normalize
- All Implemented Interfaces:
Transform
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Normalize
public Normalize(float[] mean, float[] std) Creates aNormalize
Transform
that normalizes.- Parameters:
mean
- the mean to normalize with for each channelstd
- the standard deviation to normalize with for each channel- See Also:
-
-
Method Details