Class Normalize

  • All Implemented Interfaces:
    Transform

    public class Normalize
    extends java.lang.Object
    implements Transform
    A Transform that normalizes an image NDArray of shape CHW or NCHW.
    • Constructor Summary

      Constructors 
      Constructor Description
      Normalize​(float[] mean, float[] std)
      Creates a Normalize Transform that normalizes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NDArray transform​(NDArray array)
      Applies the Transform to the given NDArray.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait