1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
    Appellation: loss <module>
    Contrib: FL03 <jo3mccain@icloud.com>
*/

pub(crate) mod prelude {
    pub use super::Loss;
}

pub trait Loss<T> {
    type Output;

    fn loss(&self, cmp: &T) -> Self::Output;
}