ForwardOnce

Trait ForwardOnce 

Source
pub trait ForwardOnce<Rhs> {
    type Output;

    // Required method
    fn forward_once(self, input: Rhs) -> Self::Output;
}
Expand description

A consuming implementation of forward propagation

Required Associated Types§

Required Methods§

Source

fn forward_once(self, input: Rhs) -> Self::Output

a single forward step consuming the implementor

Implementors§

Source§

impl<F, X, Y> ForwardOnce<X> for F
where F: FnOnce(X) -> Y,