Struct gad::net::Map[][src]

pub struct Map<N, F>(_, _);

The result of Net::map

Trait Implementations

impl<N: Clone, F: Clone> Clone for Map<N, F>[src]

impl<N: Debug, F: Debug> Debug for Map<N, F>[src]

impl<Algebra, N, F, O> Net<Algebra> for Map<N, F> where
    Algebra: HasGradientReader,
    N: Net<Algebra>,
    F: Fn(&mut Algebra, N::Output) -> Result<O>, 
[src]

type Input = N::Input

Input of the network.

type Output = O

Output of the network.

type Weights = N::Weights

External representation for the weights of the network.

type GradientInfo = N::GradientInfo

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

Auto Trait Implementations

impl<N, F> RefUnwindSafe for Map<N, F> where
    F: RefUnwindSafe,
    N: RefUnwindSafe

impl<N, F> Send for Map<N, F> where
    F: Send,
    N: Send

impl<N, F> Sync for Map<N, F> where
    F: Sync,
    N: Sync

impl<N, F> Unpin for Map<N, F> where
    F: Unpin,
    N: Unpin

impl<N, F> UnwindSafe for Map<N, F> where
    F: UnwindSafe,
    N: 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<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.