Struct nncombinator::cuda::kernel::activation::SwishForward
source · [−]pub struct SwishForward<T>where
T: DataTypeInfo,{ /* private fields */ }
Implementations
sourceimpl<T> SwishForward<T>where
T: DataTypeInfo,
impl<T> SwishForward<T>where
T: DataTypeInfo,
pub fn new() -> SwishForward<T>
Trait Implementations
sourceimpl Kernel for SwishForward<f32>
impl Kernel for SwishForward<f32>
Auto Trait Implementations
impl<T> RefUnwindSafe for SwishForward<T>where
T: RefUnwindSafe,
impl<T> Send for SwishForward<T>where
T: Send,
impl<T> Sync for SwishForward<T>where
T: Sync,
impl<T> Unpin for SwishForward<T>where
T: Unpin,
impl<T> UnwindSafe for SwishForward<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