IntoSequence

Trait IntoSequence 

Source
pub trait IntoSequence<M: AI<M::Output, M::Output> + Op> {
    // Required method
    fn into_sequence(self) -> Sequential<Vec<M>>;
}
Expand description

conversion from a composite module into a sequential list of modules

Required Methods§

Source

fn into_sequence(self) -> Sequential<Vec<M>>

converts into a sequential module list

Implementors§

Source§

impl<A: AI<X, Y> + IntoSequence<M>, M: AI<M::Output, M::Output> + Op, X, Y> IntoSequence<M> for SetType<A, X, Y>

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Abs<A>
where AbsLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Add<A>
where AddLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Mean<A>
where MeanLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Mul<A>
where MulLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Neg<A>
where NegLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for SquaredError<A>

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Sum<A>
where SumLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for AccQ<A>
where AccQLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for AbnormalSoftmax<A>

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Choose<A>
where ChooseLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for CrossEntropy<A>

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for LogSoftmax<A>

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Softmax<A>
where SoftmaxLayer: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Duplicate<A>
where Duplicate<M>: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Map<A>
where Map<M>: Into<M>,

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Sequential<Vec<A>>

Source§

impl<A: IntoSequence<M>, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Inner<A>

Source§

impl<B: Backend, M: AI<M::Output, M::Output> + Op> IntoSequence<M> for Layer<B>
where Layer<B>: Into<M>,

Source§

impl<F: Fn(X) -> Y, M: AI<M::Output, M::Output> + Op, X, Y> IntoSequence<M> for Apply<F, X, Y>
where Self: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for AbsLayer
where AbsLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for AddLayer
where AddLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for MulLayer
where MulLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for NegLayer
where NegLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for SquaredErrorLayer

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for AccQLayer
where AccQLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for CatLayer
where CatLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for SqueezeLayer
where SqueezeLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for StackLayer
where StackLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op> IntoSequence<M> for UnsqueezeLayer
where UnsqueezeLayer: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op, R: Clone> IntoSequence<M> for FlattenLayer<R>
where FlattenLayer<R>: Into<M>,

Source§

impl<M: AI<M::Output, M::Output> + Op, R: Clone> IntoSequence<M> for ReshapeLayer<R>
where ReshapeLayer<R>: Into<M>,