pub enum TrainError {
InvalidShape,
InvalidConfig,
CountMismatch,
BufferTooSmall,
ForwardNaN,
LossError,
}Variants§
Trait Implementations§
Source§impl Clone for TrainError
impl Clone for TrainError
Source§fn clone(&self) -> TrainError
fn clone(&self) -> TrainError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrainError
impl Debug for TrainError
Source§impl PartialEq for TrainError
impl PartialEq for TrainError
impl Copy for TrainError
impl Eq for TrainError
impl StructuralPartialEq for TrainError
Auto Trait Implementations§
impl Freeze for TrainError
impl RefUnwindSafe for TrainError
impl Send for TrainError
impl Sync for TrainError
impl Unpin for TrainError
impl UnsafeUnpin for TrainError
impl UnwindSafe for TrainError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more