Show / Hide Table of Contents

Class HeNormal

He normal initializer.

It draws samples from a truncated normal distribution centered on 0 with stddev = sqrt(2 / fan_in) where fan_in is the number of input units in the weight tensor.

Inheritance
System.Object
BaseInitializer
VarianceScaling
HeNormal
Inherited Members
VarianceScaling.Scale
VarianceScaling.Mode
VarianceScaling.Distribution
VarianceScaling.Seed
VarianceScaling.Generate(Int64[])
BaseInitializer.Name
Namespace: SiaNet.Initializers
Assembly: SiaNet.dll
Syntax
public class HeNormal : VarianceScaling

Constructors

| Improve this Doc View Source

HeNormal(Nullable<Int32>)

Initializes a new instance of the HeNormal class.

Declaration
public HeNormal(int? seed = default(int? ))
Parameters
Type Name Description
System.Nullable<System.Int32> seed

Used to seed the random generator.

See Also

VarianceScaling
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • HeNormal(Nullable<Int32>)
  • See Also
Back to top Generated by DocFX