Class GlorotUniform
Glorot uniform initializer, also called Xavier uniform initializer. It draws samples from a uniform distribution within[-limit, limit] where limit is sqrt(6 / (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.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Initializer
Assembly: Keras.dll
Syntax
public class GlorotUniform : Base, IDisposable
Constructors
| Improve this Doc View SourceGlorotUniform(Nullable<Int32>)
Initializes a new instance of the GlorotUniform class.
Declaration
public GlorotUniform(int? seed = default(int? ))
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | seed | The seed number for random generator |
Implements
System.IDisposable