[][src]Struct yarnn::optimizers::Adam

pub struct Adam<N, B: Backend<N>> { /* fields omitted */ }

Methods

impl<N, B: Backend<N>> Adam<N, B>[src]

pub fn new(learning_rate: f32, beta_1: f32, beta_2: f32, amsgrad: bool) -> Self[src]

Trait Implementations

impl<N, B: Backend<N> + BackendAdam<N>> Optimizer<N, B> for Adam<N, B>[src]

type Context = AdamContext<N, B>

impl<N, B> Default for Adam<N, B> where
    B: Backend<N>, 
[src]

Auto Trait Implementations

impl<N, B> Unpin for Adam<N, B>

impl<N, B> Send for Adam<N, B>

impl<N, B> !Sync for Adam<N, B>

impl<N, B> UnwindSafe for Adam<N, B>

impl<N, B> !RefUnwindSafe for Adam<N, B>

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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