[][src]Struct dumbnet::layers::InnerLayer

pub struct InnerLayer<A: Activation, Neurons: NL<Input>, Input: AL, NextN: NL<Neurons>, FinalOut: AL, NextA: Activation, Next: Layer<Neurons, NextN, FinalOut, NextA>> { /* fields omitted */ }

a layer that stacks another layer inside itself (which may then recursively stack another and so on)

Methods

impl<A: Activation, Neurons: NL<Input>, Input: AL, NextN: NL<Neurons>, FinalOut: AL, NextA: Activation, Next: Layer<Neurons, NextN, FinalOut, NextA>> InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next>[src]

pub fn push(next: Next) -> Self[src]

Pushes this layer on top of an existing layer.

Trait Implementations

impl<A: Clone + Activation, Neurons: Clone + NL<Input>, Input: Clone + AL, NextN: Clone + NL<Neurons>, FinalOut: Clone + AL, NextA: Clone + Activation, Next: Clone + Layer<Neurons, NextN, FinalOut, NextA>> Clone for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next>[src]

impl<A: Debug + Activation, Neurons: Debug + NL<Input>, Input: Debug + AL, NextN: Debug + NL<Neurons>, FinalOut: Debug + AL, NextA: Debug + Activation, Next: Debug + Layer<Neurons, NextN, FinalOut, NextA>> Debug for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next>[src]

impl<'de, A: Activation, Neurons: NL<Input>, Input: AL, NextN: NL<Neurons>, FinalOut: AL, NextA: Activation, Next: Layer<Neurons, NextN, FinalOut, NextA>> Deserialize<'de> for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next> where
    Neurons: NL<Input>,
    Input: AL,
    NextN: NL<Neurons>,
    FinalOut: AL, 
[src]

impl<A: Activation, Neurons: NL<Input>, Input: AL, NextN: NL<Neurons>, FinalOut: AL, NextA: Activation, Next: Layer<Neurons, NextN, FinalOut, NextA>> Layer<Input, Neurons, FinalOut, A> for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next>[src]

impl<A: Activation, Neurons: NL<Input>, Input: AL, NextN: NL<Neurons>, FinalOut: AL, NextA: Activation, Next: Layer<Neurons, NextN, FinalOut, NextA>> Serialize for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next> where
    Neurons: NL<Input>,
    Input: AL,
    NextN: NL<Neurons>,
    FinalOut: AL, 
[src]

Auto Trait Implementations

impl<A, Neurons, Input, NextN, FinalOut, NextA, Next> RefUnwindSafe for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next> where
    A: RefUnwindSafe,
    FinalOut: RefUnwindSafe,
    Next: RefUnwindSafe,
    NextA: RefUnwindSafe,
    NextN: RefUnwindSafe,
    <Neurons as ArrayLength<f32>>::ArrayType: RefUnwindSafe,
    <Neurons as ArrayLength<GenericArray<f32, Input>>>::ArrayType: RefUnwindSafe

impl<A, Neurons, Input, NextN, FinalOut, NextA, Next> Send for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next> where
    A: Send,
    FinalOut: Send,
    Next: Send,
    NextA: Send,
    NextN: Send

impl<A, Neurons, Input, NextN, FinalOut, NextA, Next> Sync for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next> where
    A: Sync,
    FinalOut: Sync,
    Next: Sync,
    NextA: Sync,
    NextN: Sync

impl<A, Neurons, Input, NextN, FinalOut, NextA, Next> Unpin for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next> where
    A: Unpin,
    FinalOut: Unpin,
    Next: Unpin,
    NextA: Unpin,
    NextN: Unpin,
    <Neurons as ArrayLength<f32>>::ArrayType: Unpin,
    <Neurons as ArrayLength<GenericArray<f32, Input>>>::ArrayType: Unpin

impl<A, Neurons, Input, NextN, FinalOut, NextA, Next> UnwindSafe for InnerLayer<A, Neurons, Input, NextN, FinalOut, NextA, Next> where
    A: UnwindSafe,
    FinalOut: UnwindSafe,
    Next: UnwindSafe,
    NextA: UnwindSafe,
    NextN: UnwindSafe,
    <Neurons as ArrayLength<f32>>::ArrayType: UnwindSafe,
    <Neurons as ArrayLength<GenericArray<f32, Input>>>::ArrayType: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,