Constructor and Description |
---|
Normalize(float[] mean,
float[] std)
Creates a
Normalize Transform that normalizes. |
Modifier and Type | Method and Description |
---|---|
NDArray |
transform(NDArray array)
Applies the
Transform to the given NDArray . |
public Normalize(float[] mean, float[] std)
Normalize
Transform
that normalizes.mean
- the mean to normalize with for each channelstd
- the standard deviation to normalize with for each channelNDImageUtils.normalize(NDArray, float[], float[])