BackwardStep

Trait BackwardStep 

Source
pub trait BackwardStep<T> {
    type Data<_X>;
    type Grad<_X>;
    type Output;

    // Required method
    fn backward(
        &mut self,
        input: &Self::Data<T>,
        delta: &Self::Grad<T>,
        gamma: T,
    ) -> Self::Output;
}

Required Associated Types§

Source

type Data<_X>

Source

type Grad<_X>

Source

type Output

Required Methods§

Source

fn backward( &mut self, input: &Self::Data<T>, delta: &Self::Grad<T>, gamma: T, ) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§