bayesflow.exceptions module#
- 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.
- 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.LossError[source]#
Bases:
Exception
Class for error in applying loss.
- 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.ShapeError[source]#
Bases:
Exception
Class for error in expected shapes.