pub trait Layer<I> {
type Output;
// Required method
fn call(&self, input: I) -> Self::Output;
}Expand description
A neural network layer: something callable on an input I, producing Output.
pub trait Layer<I> {
type Output;
// Required method
fn call(&self, input: I) -> Self::Output;
}A neural network layer: something callable on an input I, producing Output.