pub struct HardSwish;Expand description
HardSwish activation: x * relu6(x + 3) / 6 Efficient approximation of Swish for mobile inference
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HardSwish
impl RefUnwindSafe for HardSwish
impl Send for HardSwish
impl Sync for HardSwish
impl Unpin for HardSwish
impl UnsafeUnpin for HardSwish
impl UnwindSafe for HardSwish
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