pub trait Backward<X, Y> {
type HParam;
type Output;
// Required method
fn backward(
&mut self,
input: &X,
delta: &Y,
gamma: Self::HParam,
) -> Result<Self::Output>;
}Expand description
A simple trait denoting a single backward pass through a layer of a neural network; the trait