bayesflow.exceptions module#

exception bayesflow.exceptions.SimulationError[source]#

Bases: Exception

Class for an error in simulation.

exception bayesflow.exceptions.SummaryStatsError[source]#

Bases: Exception

Class for error in summary statistics.

exception bayesflow.exceptions.LossError[source]#

Bases: Exception

Class for error in applying loss.

exception bayesflow.exceptions.ShapeError[source]#

Bases: Exception

Class for error in expected shapes.

exception bayesflow.exceptions.ConfigurationError[source]#

Bases: Exception

Class for error in model configuration, e.g. in meta dict

exception bayesflow.exceptions.InferenceError[source]#

Bases: Exception

Class for error in forward/inverse pass of a neural components.

exception bayesflow.exceptions.OperationNotSupportedError[source]#

Bases: Exception

Class for error that occurs when an operation is demanded but not supported, e.g., when a trainer is initialized without generative model but the user demands it to simulate data.

exception bayesflow.exceptions.ArgumentError[source]#

Bases: Exception

Class for error that occurs as a result of a function call which is invalid due to the input arguments.