Class L2
Regularizers allow to apply penalties on layer parameters or layer activity during optimization. These penalties are incorporated in the loss function that the network optimizes.
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.Regularizers
Assembly: Keras.dll
Syntax
public class L2 : Base, IDisposable
Constructors
| Improve this Doc View SourceL2(Single)
Initializes a new instance of the L2 class.
Declaration
public L2(float l2 = 0.01F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | l2 | The l2. |
Implements
System.IDisposable