Enum nncombinator::error::EvaluateError
source · pub enum EvaluateError {
CudaError(CudaError),
CublasError(Error),
CudnnError(Error),
CudaRuntimeError(CudaRuntimeError),
SizeMismatchError(SizeMismatchError),
InvalidStateError(InvalidStateError),
}Expand description
Error during forward propagation of neural network
Variants§
CudaError(CudaError)
Error in cuda processing
CublasError(Error)
Error in cublas processing
CudnnError(Error)
Error in cudnn processing
CudaRuntimeError(CudaRuntimeError)
Error in cuda runtime
SizeMismatchError(SizeMismatchError)
Errors caused by generating fixed-length arrays from different size Vecs
InvalidStateError(InvalidStateError)
Errors that occur when the internal state of a particular object or other object is abnormal.
Trait Implementations§
source§impl Debug for EvaluateError
impl Debug for EvaluateError
source§impl Display for EvaluateError
impl Display for EvaluateError
source§impl Error for EvaluateError
impl Error for EvaluateError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl From<CudaError> for EvaluateError
impl From<CudaError> for EvaluateError
source§fn from(err: CudaError) -> EvaluateError
fn from(err: CudaError) -> EvaluateError
Converts to this type from the input type.
source§impl From<CudaRuntimeError> for EvaluateError
impl From<CudaRuntimeError> for EvaluateError
source§fn from(err: CudaRuntimeError) -> EvaluateError
fn from(err: CudaRuntimeError) -> EvaluateError
Converts to this type from the input type.
source§impl From<Error> for EvaluateError
impl From<Error> for EvaluateError
source§fn from(err: Error) -> EvaluateError
fn from(err: Error) -> EvaluateError
Converts to this type from the input type.
source§impl From<Error> for EvaluateError
impl From<Error> for EvaluateError
source§fn from(err: Error) -> EvaluateError
fn from(err: Error) -> EvaluateError
Converts to this type from the input type.
source§impl From<EvaluateError> for TrainingError
impl From<EvaluateError> for TrainingError
source§fn from(err: EvaluateError) -> TrainingError
fn from(err: EvaluateError) -> TrainingError
Converts to this type from the input type.
source§impl From<InvalidStateError> for EvaluateError
impl From<InvalidStateError> for EvaluateError
source§fn from(err: InvalidStateError) -> EvaluateError
fn from(err: InvalidStateError) -> EvaluateError
Converts to this type from the input type.
source§impl From<SizeMismatchError> for EvaluateError
impl From<SizeMismatchError> for EvaluateError
source§fn from(err: SizeMismatchError) -> EvaluateError
fn from(err: SizeMismatchError) -> EvaluateError
Converts to this type from the input type.