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