Trait ActivateGradient

Source
pub trait ActivateGradient<Rhs = Self>: Activate<Self::Input> {
    type Input;
    type Delta;

    // Required method
    fn activate_gradient(&self, rhs: Rhs) -> Self::Delta;
}

Required Associated Types§

Required Methods§

Source

fn activate_gradient(&self, rhs: Rhs) -> Self::Delta

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§