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