Show / Hide Table of Contents

Class BaseConstraint

Base class for Constraints. Functions from the constraints module allow setting constraints (eg. non-negativity) on network parameters during optimization. The penalties are applied on a per-layer basis.The exact API will depend on the layer, but the layers Dense, Conv1D, Conv2D and Conv3D have a unified API.

Inheritance
System.Object
BaseConstraint
MaxNorm
MinMaxNorm
NonNeg
UnitNorm
Namespace: SiaNet.Constraints
Assembly: SiaNet.dll
Syntax
public abstract class BaseConstraint
  • Improve this Doc
  • View Source
Back to top Generated by DocFX