pub struct ThresholdForwardDispatch;Expand description
Forward: y = x if x > threshold else value
Implementations§
Source§impl ThresholdForwardDispatch
impl ThresholdForwardDispatch
Sourcepub const SUPPORTED_DTYPES: &'static [DtypeRepr]
pub const SUPPORTED_DTYPES: &'static [DtypeRepr]
Dtypes this kernel declares support for.
Auto Trait Implementations§
impl Freeze for ThresholdForwardDispatch
impl RefUnwindSafe for ThresholdForwardDispatch
impl Send for ThresholdForwardDispatch
impl Sync for ThresholdForwardDispatch
impl Unpin for ThresholdForwardDispatch
impl UnsafeUnpin for ThresholdForwardDispatch
impl UnwindSafe for ThresholdForwardDispatch
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