Trait concision_core::traits::predict::ForwardIter

source ·
pub trait ForwardIter<T> {
    type Item: Forward<T, Output = T>;

    // Required method
    fn forward_iter(self, args: &T) -> <Self::Item as Forward<T>>::Output;
}
Expand description

ForwardIter describes any iterators whose elements implement Forward. This trait is typically used in deep neural networks who need to forward propagate across a number of layers.

Required Associated Types§

source

type Item: Forward<T, Output = T>

Required Methods§

source

fn forward_iter(self, args: &T) -> <Self::Item as Forward<T>>::Output

Implementors§

source§

impl<I, M, T> ForwardIter<T> for I
where I: IntoIterator<Item = M>, M: Forward<T, Output = T>, T: Clone,

§

type Item = M