Struct gad::net::Then[][src]

pub struct Then<N1, N2>(_, _);

The result of Net::then

Trait Implementations

impl<N1: Clone, N2: Clone> Clone for Then<N1, N2>[src]

impl<N1: Debug, N2: Debug> Debug for Then<N1, N2>[src]

impl<'de, N1, N2> Deserialize<'de> for Then<N1, N2> where
    N1: Deserialize<'de>,
    N2: Deserialize<'de>, 
[src]

impl<Algebra, N1, N2> Net<Algebra> for Then<N1, N2> where
    Algebra: HasGradientReader,
    N1: Net<Algebra>,
    N2: Net<Algebra, Input = N1::Output>, 
[src]

type Input = N1::Input

Input of the network.

type Output = N2::Output

Output of the network.

type Weights = Then<N1::Weights, N2::Weights>

External representation for the weights of the network.

type GradientInfo = Then<N1::GradientInfo, N2::GradientInfo>

How to read the gradients of the weights after a backward pass.

impl<N1, N2> Serialize for Then<N1, N2> where
    N1: Serialize,
    N2: Serialize
[src]

impl<T, W1, W2> WeightOps<T> for Then<W1, W2> where
    T: Copy,
    W1: WeightOps<T>,
    W2: WeightOps<T>, 
[src]

Auto Trait Implementations

impl<N1, N2> RefUnwindSafe for Then<N1, N2> where
    N1: RefUnwindSafe,
    N2: RefUnwindSafe

impl<N1, N2> Send for Then<N1, N2> where
    N1: Send,
    N2: Send

impl<N1, N2> Sync for Then<N1, N2> where
    N1: Sync,
    N2: Sync

impl<N1, N2> Unpin for Then<N1, N2> where
    N1: Unpin,
    N2: Unpin

impl<N1, N2> UnwindSafe for Then<N1, N2> where
    N1: UnwindSafe,
    N2: 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<N> CheckNet for N where
    N: Net<Check>, 
[src]

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

impl<N> EvalNet for N where
    N: Net<Eval>, 
[src]

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

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

impl<Data, Algebra, N> SingleOutputNet<Data, Algebra> for N where
    Algebra: HasGradientReader + CoreAlgebra<Data, Value = <N as Net<Algebra>>::Output>,
    N: Net<Algebra>, 
[src]

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.