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.
Namespace: SiaNet.Constraints
Assembly: SiaNet.dll
Syntax
public abstract class BaseConstraint