Class NormalInitializer

  • All Implemented Interfaces:
    Initializer

    public class NormalInitializer
    extends java.lang.Object
    implements Initializer
    NormalInitializer initializes weights with random values sampled from a normal distribution with a mean of zero and standard deviation of sigma. Default standard deviation is 0.01.
    • Constructor Detail

      • NormalInitializer

        public NormalInitializer()
        Creates an instance of NormalInitializer with a default sigma of 0.01.
      • NormalInitializer

        public NormalInitializer​(float sigma)
        Creates a Normal initializer.
        Parameters:
        sigma - the standard deviation of the normal distribution