pub trait Forward<T> {
type Output;
// Required method
fn forward(&self, args: &T) -> Result<Self::Output, PredictError>;
}
Expand description
Forward describes an object capable of forward propagation.
pub trait Forward<T> {
type Output;
// Required method
fn forward(&self, args: &T) -> Result<Self::Output, PredictError>;
}
Forward describes an object capable of forward propagation.