Show / Hide Table of Contents

Namespace SiaNet.Constraints

Classes

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.

MaxNorm

MaxNorm weight constraint. Constrains the weights incident to each hidden unit to have a norm less than or equal to a desired value.

MinMaxNorm

MinMaxNorm weight constraint. Constrains the weights incident to each hidden unit to have the norm between a lower bound and an upper bound.

NonNeg

Constrains the weights to be non-negative.

UnitNorm

Constrains the weights incident to each hidden unit to have unit norm.

Back to top Generated by DocFX