Trait Forward

Source
pub trait Forward<T> {
    type Output;

    // Required method
    fn forward(&self, args: &T) -> Self::Output;
}
Expand description

Forward describes an object capable of forward propagation.

Required Associated Types§

Required Methods§

Source

fn forward(&self, args: &T) -> Self::Output

Implementors§

Source§

impl<A, S, D> Forward<ArrayBase<S, D>> for DropoutLayer
where A: Num + ScalarOperand, D: Dimension, S: DataOwned<Elem = A>,

Source§

impl<X, Y, S> Forward<X> for S
where S: Predict<X, Output = Y>,