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