Enum nncombinator::error::TrainingError
source · [−]pub enum TrainingError {
ReferenceCountError,
ThreadError(String),
SizeMismatchError(SizeMismatchError),
InvalidInputError(String),
EvaluateError(EvaluateError),
ToLargeInput(f64),
CudaError(CudaError),
CublasError(Error),
CudnnError(Error),
CudaRuntimeError(CudaRuntimeError),
InvalidStateError(InvalidStateError),
}
Expand description
Errors made during neural network training
Variants
ReferenceCountError
Tried to get two or more mutable references from Arc in multiple threads at the same time (this error is currently not used within crate)
ThreadError(String)
Errors occurring within the launched external thread (this error is currently not used within crate)
SizeMismatchError(SizeMismatchError)
Errors caused by generating fixed-length arrays from different size Vecs
InvalidInputError(String)
Illegal input value
EvaluateError(EvaluateError)
Error during forward propagation of neural network
ToLargeInput(f64)
The value is too large to convert. (this error is currently not used within crate)
CudaError(CudaError)
Error in cuda processing
CublasError(Error)
Error in cublas processing
CudnnError(Error)
Error in cudnn processing
CudaRuntimeError(CudaRuntimeError)
Error in cuda runtime
InvalidStateError(InvalidStateError)
Errors that occur when the internal state of a particular object or other object is abnormal.
Trait Implementations
sourceimpl Debug for TrainingError
impl Debug for TrainingError
sourceimpl Display for TrainingError
impl Display for TrainingError
sourceimpl Error for TrainingError
impl Error for TrainingError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<CudaError> for TrainingError
impl From<CudaError> for TrainingError
sourcefn from(err: CudaError) -> TrainingError
fn from(err: CudaError) -> TrainingError
Converts to this type from the input type.
sourceimpl From<CudaRuntimeError> for TrainingError
impl From<CudaRuntimeError> for TrainingError
sourcefn from(err: CudaRuntimeError) -> TrainingError
fn from(err: CudaRuntimeError) -> TrainingError
Converts to this type from the input type.
sourceimpl From<Error> for TrainingError
impl From<Error> for TrainingError
sourcefn from(err: Error) -> TrainingError
fn from(err: Error) -> TrainingError
Converts to this type from the input type.
sourceimpl From<Error> for TrainingError
impl From<Error> for TrainingError
sourcefn from(err: Error) -> TrainingError
fn from(err: Error) -> TrainingError
Converts to this type from the input type.
sourceimpl From<EvaluateError> for TrainingError
impl From<EvaluateError> for TrainingError
sourcefn from(err: EvaluateError) -> TrainingError
fn from(err: EvaluateError) -> TrainingError
Converts to this type from the input type.
sourceimpl From<InvalidStateError> for TrainingError
impl From<InvalidStateError> for TrainingError
sourcefn from(err: InvalidStateError) -> TrainingError
fn from(err: InvalidStateError) -> TrainingError
Converts to this type from the input type.
sourceimpl From<SizeMismatchError> for TrainingError
impl From<SizeMismatchError> for TrainingError
sourcefn from(err: SizeMismatchError) -> TrainingError
fn from(err: SizeMismatchError) -> TrainingError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for TrainingError
impl Send for TrainingError
impl Sync for TrainingError
impl Unpin for TrainingError
impl UnwindSafe for TrainingError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more