pub struct ReLU {}
Expand description
Applies the rectified linear unit function element-wise:
y = max(0, x)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReLU
impl Send for ReLU
impl Sync for ReLU
impl Unpin for ReLU
impl UnwindSafe for ReLU
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