chainer.initializers.GlorotNormal

class chainer.initializers.GlorotNormal(scale=1.0, dtype=None)[source]

Initializes array with scaled Gaussian distribution.

Each element of the array is initialized by the value drawn independently from Gaussian distribution whose mean is 0, and standard deviation is \(scale \times \sqrt{\frac{2}{fan_{in} + fan_{out}}}\), where \(fan_{in}\) and \(fan_{out}\) are the number of input and output units, respectively.

Reference: Glorot & Bengio, AISTATS 2010

Parameters:
  • scale (float) – A constant that determines the scale of the standard deviation.
  • dtype – Data type specifier.

Methods

__call__(array)[source]