Class GlorotNormal
Glorot normal initializer, also called Xavier normal initializer.
It draws samples from a truncated normal distribution centered on 0 with stddev = sqrt(2 / (fan_in + fan_out)) where fan_in is the number of input units in the weight tensor and fan_out is the number of output units in the weight tensor.
Inherited Members
Namespace: SiaNet.Initializers
Assembly: SiaNet.dll
Syntax
public class GlorotNormal : VarianceScaling
Constructors
| Improve this Doc View SourceGlorotNormal(Nullable<Int32>)
Initializes a new instance of the GlorotNormal class.
Declaration
public GlorotNormal(int? seed = default(int? ))
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | seed | Used to seed the random generator. |