1/* 2 Appellation: entropy <module> 3 Contrib: FL03 <jo3mccain@icloud.com> 4*/ 5 6pub trait Entropy<T = Self> { 7 type Output; 8 9 fn cross_entropy(&self, target: &T) -> Self::Output; 10} 11 12pub struct CrossEntropy;