pub trait BatchPreTrainBase<U>: BatchForwardBase + PreTrain<U>where
U: UnitValue<U>,{
type BatchPreOutput: Debug + 'static;
type BatchOutStack: Stack<Head = Self::BatchPreOutput> + Sized + Debug;
}
Expand description
Trait that defines the relevant type of implementation that calculates the results of forward propagation prior to processing the error back propagation of the neural network by batch processing.
Required Associated Types§
Sourcetype BatchPreOutput: Debug + 'static
type BatchPreOutput: Debug + 'static
The type of output that is piled on the stack during the back-propagation process for errors in a batch run.
Sourcetype BatchOutStack: Stack<Head = Self::BatchPreOutput> + Sized + Debug
type BatchOutStack: Stack<Head = Self::BatchPreOutput> + Sized + Debug
Type of object to keep the results of forward propagation needed to perform error back propagation for batch execution.