pub struct HardsigmoidForwardDispatch;Expand description
Forward: y = clamp((x + 3) / 6, 0, 1)
Implementations§
Source§impl HardsigmoidForwardDispatch
impl HardsigmoidForwardDispatch
Sourcepub const SUPPORTED_DTYPES: &'static [DtypeRepr]
pub const SUPPORTED_DTYPES: &'static [DtypeRepr]
Dtypes this kernel declares support for.
Auto Trait Implementations§
impl Freeze for HardsigmoidForwardDispatch
impl RefUnwindSafe for HardsigmoidForwardDispatch
impl Send for HardsigmoidForwardDispatch
impl Sync for HardsigmoidForwardDispatch
impl Unpin for HardsigmoidForwardDispatch
impl UnsafeUnpin for HardsigmoidForwardDispatch
impl UnwindSafe for HardsigmoidForwardDispatch
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