bgd.errors module

This module contains all the exceptions that are specific to BGD.

exception bgd.errors.NonLearnableLayerError[source]

Bases: Exception

Exception raised to warn that an attempt to update parameter of a non-parametric layer has been attempted.

exception bgd.errors.RequiredComponentError[source]

Bases: Exception

Exception raised when a bgd.nn.NeuralStack hasn’t been setup properly and at least a component is missing.

exception bgd.errors.WrongComponentTypeError[source]

Bases: Exception

Exception raised when a component of unrecognized type is attempted to be added to a bgd.nn.NeuralStack.