Struct nncombinator::cuda::kernel::activation::SwishBackward
source · [−]pub struct SwishBackward<T>where
T: DataTypeInfo,{ /* private fields */ }Expand description
Swish activation function implementation
Implementations
sourceimpl<T> SwishBackward<T>where
T: DataTypeInfo,
impl<T> SwishBackward<T>where
T: DataTypeInfo,
sourcepub fn new() -> SwishBackward<T>
pub fn new() -> SwishBackward<T>
Create a SwishBackward instance
Trait Implementations
sourceimpl Kernel for SwishBackward<f32>
impl Kernel for SwishBackward<f32>
Auto Trait Implementations
impl<T> RefUnwindSafe for SwishBackward<T>where
T: RefUnwindSafe,
impl<T> Send for SwishBackward<T>where
T: Send,
impl<T> Sync for SwishBackward<T>where
T: Sync,
impl<T> Unpin for SwishBackward<T>where
T: Unpin,
impl<T> UnwindSafe for SwishBackward<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more