Class Identity
Initializer that generates the identity matrix. Only use for 2D matrices.If the desired matrix is not square, it pads with zeros on the additional rows/columns
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 Identity : Base, IDisposable
Constructors
| Improve this Doc View SourceIdentity(Single)
Initializes a new instance of the Identity class.
Declaration
public Identity(float gain = 1F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | gain | Multiplicative factor to apply to the identity matrix. |
Implements
System.IDisposable