pub trait PreTrain<U>: ForwardAllwhere
U: UnitValue<U>,{
type PreOutput: Debug + 'static;
type OutStack: Stack<Head = Self::PreOutput> + Debug + Sized;
// Required method
fn pre_train(
&self,
input: Self::Input,
) -> Result<Self::OutStack, EvaluateError>;
}
Expand description
Trait that defines the process of forward propagation performed prior to the process of error back propagation.