Enum nncombinator::error::CudaError
source · [−]pub enum CudaError {
AllocFailed(String),
CudnnError(Error),
CublasError(Error),
InvalidState(String),
LogicError(String),
}Variants
AllocFailed(String)
CudnnError(Error)
CublasError(Error)
InvalidState(String)
LogicError(String)
Trait Implementations
sourceimpl Error for CudaError
impl Error for CudaError
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 DeviceError
impl From<CudaError> for DeviceError
sourcefn from(err: CudaError) -> DeviceError
fn from(err: CudaError) -> DeviceError
Converts to this type from the input type.
sourceimpl From<CudaError> for EvaluateError
impl From<CudaError> for EvaluateError
sourcefn from(err: CudaError) -> EvaluateError
fn from(err: CudaError) -> EvaluateError
Converts to this type from the input type.
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.
Auto Trait Implementations
impl RefUnwindSafe for CudaError
impl Send for CudaError
impl Sync for CudaError
impl Unpin for CudaError
impl UnwindSafe for CudaError
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