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