chainer.initializers.LeCunUniform¶
-
class
chainer.initializers.
LeCunUniform
(scale=1.0, dtype=None)[source]¶ Initializes array with a scaled uniform distribution.
Each element of the array is initialized by the value drawn independently from uniform distribution \([-s, s]\) where \(s = scale \times \sqrt{\frac{3}{fan_{in}}}\). Here \(fan_{in}\) is the number of input units.
Reference: LeCun 98, Efficient Backprop http://yann.lecun.com/exdb/publis/pdf/lecun-98b.pdf
Variables: - scale (float) – A constant that determines the scale of the uniform distribution.
- dtype – Data type specifier.
Methods