pub trait Model<'a> { type Input; type Output; // Required method fn forward(&self, input: Self::Input) -> Result<Self::Output>; }
A compiled, runnable model.
This model’s input type.
This model’s output type.
Runs inference, producing Output from input.
Output
input