Struct tch::nn::AdamW[][src]

pub struct AdamW {
    pub beta1: f64,
    pub beta2: f64,
    pub wd: f64,
}

Parameters for the AdamW optimizer.

Fields

beta1: f64beta2: f64wd: f64

Trait Implementations

impl Clone for AdamW[src]

impl Copy for AdamW[src]

impl Debug for AdamW[src]

impl Default for AdamW[src]

impl OptimizerConfig for AdamW[src]

Auto Trait Implementations

impl RefUnwindSafe for AdamW

impl Send for AdamW

impl Sync for AdamW

impl Unpin for AdamW

impl UnwindSafe for AdamW

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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