pub struct TanhshrinkForwardDispatch;Expand description
Forward: y = x - tanh(x)
Implementations§
Source§impl TanhshrinkForwardDispatch
impl TanhshrinkForwardDispatch
Sourcepub const SUPPORTED_DTYPES: &'static [DtypeRepr]
pub const SUPPORTED_DTYPES: &'static [DtypeRepr]
Dtypes this kernel declares support for.
Auto Trait Implementations§
impl Freeze for TanhshrinkForwardDispatch
impl RefUnwindSafe for TanhshrinkForwardDispatch
impl Send for TanhshrinkForwardDispatch
impl Sync for TanhshrinkForwardDispatch
impl Unpin for TanhshrinkForwardDispatch
impl UnsafeUnpin for TanhshrinkForwardDispatch
impl UnwindSafe for TanhshrinkForwardDispatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more