pub struct Sin;
Trait Implementations
sourceimpl CanUpdateWithGradients for Sin
impl CanUpdateWithGradients for Sin
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 Sin
impl LoadFromNpz for Sin
sourceimpl<T> ModuleMut<T> for Sinwhere
Self: Module<T>,
impl<T> ModuleMut<T> for Sinwhere
Self: Module<T>,
sourcefn forward_mut(&mut self, input: T) -> Self::Output
fn forward_mut(&mut self, input: T) -> Self::Output
sourceimpl ResetParams for Sin
impl ResetParams for Sin
sourcefn reset_params<R: Rng>(&mut self, _: &mut R)
fn reset_params<R: Rng>(&mut self, _: &mut R)
Does nothing.
impl Copy for Sin
Auto Trait Implementations
impl RefUnwindSafe for Sin
impl Send for Sin
impl Sync for Sin
impl Unpin for Sin
impl UnwindSafe for Sin
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