Module error

Source
Expand description

this module defines the ModelError type, used to define the various errors encountered by the different components of a neural network. Additionally, the ModelResult alias is defined for convenience, allowing for a more ergonomic way to handle results that may fail.

Enums§

ModelError
The ModelError type is used to define the various errors encountered by the different components of a neural network. It is designed to be comprehensive, covering a wide range of potential issues that may arise during the operation of neural network components, such as invalid configurations, training failures, and other runtime errors. This error type is intended to provide a clear and consistent way to handle errors across the neural network components, making it easier to debug and resolve issues that may occur during the development and execution of neural network models.

Type Aliases§

ModelResult
a type alias for a Result configured to use the ModelError implementation as its error type.