Show / Hide Table of Contents

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.

Inheritance
System.Object
Keras
Base
L2
Implements
System.IDisposable
Inherited Members
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
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 Source

L2(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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX