1/* 2 appellation: gradient <module> 3 authors: @FL03 4*/ 5 6/// The [`Gradient`] trait defines a common interface for all gradients 7pub trait Gradient<Rhs> { 8 type Delta<_T>; 9 type Output; 10 11 fn grad(&self, rhs: &Rhs) -> Self::Delta<Self::Output>; 12}