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