Class L1L2
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 L1L2 : Base, IDisposable
Constructors
| Improve this Doc View SourceL1L2(Single, Single)
Initializes a new instance of the L1L2 class.
Declaration
public L1L2(float l1 = 0.01F, float l2 = 0.01F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | l1 | The l1. |
System.Single | l2 | The l2. |
Implements
System.IDisposable