Trait Forward

Source
pub trait Forward<Rhs> {
    type Output;

    // Required method
    fn forward(&self, input: &Rhs) -> Result<Self::Output>;
}
Expand description

This trait defines the forward pass of the network

Required Associated Types§

Required Methods§

Source

fn forward(&self, input: &Rhs) -> Result<Self::Output>

Implementors§

Source§

impl<A, X, Y, Z, S, D> Forward<X> for ParamsBase<S, D>
where A: Clone, D: Dimension, S: Data<Elem = A>, for<'a> X: Dot<ArrayBase<S, D>, Output = Y>, Y: for<'a> Add<&'a ArrayBase<S, D::Smaller>, Output = Z>,