pub enum MininnError {
Show 14 variants
LayerError(String),
CostError(String),
ActivationError(String),
LayerRegisterError(String),
ActivationRegisterError(String),
TrainConfigError(String),
NNError(String),
IoError(String),
SerializeMsgPackError(Error),
DeserializeMsgPackError(Error),
SerdeError(Error),
ShapeError(ShapeError),
HDF5Error(Error),
HDF5StringError(StringError),
}Expand description
Enum representing all possible errors that can occur in the mininn crate.
Variants§
LayerError(String)
Error that occurs during a forward or backward pass in a network layer.
CostError(String)
Error related to the cost function used in a neural network layer.
ActivationError(String)
Error related to the activation function used in a neural network layer.
LayerRegisterError(String)
Error related to the registration of a custom layer in the neural network.
ActivationRegisterError(String)
Error related to the registration of a custom activation function in the neural network.
TrainConfigError(String)
Error related to the neural network’s training configuration
NNError(String)
General error related to the neural network’s internal operations.
IoError(String)
Error related to input/output operations, typically raised during file handling or other I/O tasks.
SerializeMsgPackError(Error)
Error that occurs during serialization of MessagePack data.
DeserializeMsgPackError(Error)
Error that occurs during deserialization of MessagePack data.
SerdeError(Error)
Error that occurs during serialization or deserialization of data (e.g., JSON parsing issues).
ShapeError(ShapeError)
Error related to the shape or dimensions of a data array, often caused by mismatches between expected and actual data shapes.
HDF5Error(Error)
Error that occurs while interacting with HDF5 files or datasets.
HDF5StringError(StringError)
Error related to HDF5 string operations, typically involving string encoding or decoding in HDF5 files.