pub enum Loss {
BCE,
MSE,
}
Expand description
Loss functions that can be used to train a neural network.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Loss
impl PartialEq for Loss
impl Copy for Loss
impl StructuralPartialEq for Loss
Auto Trait Implementations§
impl Freeze for Loss
impl RefUnwindSafe for Loss
impl Send for Loss
impl Sync for Loss
impl Unpin for Loss
impl UnwindSafe for Loss
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