pub struct ReLU6;Expand description
ReLU6 activation: min(6, max(0, x)) Used in MobileNet architectures
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReLU6
impl RefUnwindSafe for ReLU6
impl Send for ReLU6
impl Sync for ReLU6
impl Unpin for ReLU6
impl UnsafeUnpin for ReLU6
impl UnwindSafe for ReLU6
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