Struct gad::net_ext::SquareLoss[][src]

pub struct SquareLoss<N, Data>(_, _);

Trait Implementations

impl<N: Clone, Data: Clone> Clone for SquareLoss<N, Data>[src]

impl<N: Debug, Data: Debug> Debug for SquareLoss<N, Data>[src]

impl<'de, N, Data> Deserialize<'de> for SquareLoss<N, Data> where
    N: Deserialize<'de>, 
[src]

impl<Data, Algebra, N> Net<Algebra> for SquareLoss<N, Data> where
    Algebra: HasGradientReader + CoreAlgebra<Data, Value = N::Output> + ArrayAlgebra<N::Output> + ArithAlgebra<N::Output> + MatrixAlgebra<N::Output>,
    N: Net<Algebra>,
    Data: HasDims,
    N::Output: HasDims<Dims = Data::Dims>,
    Data::Dims: Clone + PartialEq + Debug
[src]

type Input = (N::Input, Data)

Input of the network.

type Output = <Algebra as ArrayAlgebra<N::Output>>::Scalar

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.

impl<N, Data> Serialize for SquareLoss<N, Data> where
    N: Serialize
[src]

Auto Trait Implementations

impl<N, Data> RefUnwindSafe for SquareLoss<N, Data> where
    Data: RefUnwindSafe,
    N: RefUnwindSafe

impl<N, Data> Send for SquareLoss<N, Data> where
    Data: Send,
    N: Send

impl<N, Data> Sync for SquareLoss<N, Data> where
    Data: Sync,
    N: Sync

impl<N, Data> Unpin for SquareLoss<N, Data> where
    Data: Unpin,
    N: Unpin

impl<N, Data> UnwindSafe for SquareLoss<N, Data> where
    Data: 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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.