Show / Hide Table of Contents

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.

Inheritance
System.Object
Keras
Base
L1L2
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 L1L2 : Base, IDisposable

Constructors

| Improve this Doc View Source

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