pub struct Tanh;
Trait Implementations
sourceimpl CanUpdateWithGradients for Tanh
impl CanUpdateWithGradients for Tanh
sourcefn update<G: GradientProvider>(&mut self, _: &mut G, _: &mut UnusedTensors)
fn update<G: GradientProvider>(&mut self, _: &mut G, _: &mut UnusedTensors)
Does nothing.
sourceimpl LoadFromNpz for Tanh
impl LoadFromNpz for Tanh
sourceimpl<T> ModuleMut<T> for Tanhwhere
Self: Module<T>,
impl<T> ModuleMut<T> for Tanhwhere
Self: Module<T>,
sourcefn forward_mut(&mut self, input: T) -> Self::Output
fn forward_mut(&mut self, input: T) -> Self::Output
sourceimpl ResetParams for Tanh
impl ResetParams for Tanh
sourcefn reset_params<R: Rng>(&mut self, _: &mut R)
fn reset_params<R: Rng>(&mut self, _: &mut R)
Does nothing.
impl Copy for Tanh
Auto Trait Implementations
impl RefUnwindSafe for Tanh
impl Send for Tanh
impl Sync for Tanh
impl Unpin for Tanh
impl UnwindSafe for Tanh
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more