pub struct ReLU();
Trait Implementations§
Source§impl NeuralOperator for ReLU
impl NeuralOperator for ReLU
fn activation(x: f64) -> f64
fn derivative(x: f64) -> f64
Auto Trait Implementations§
impl Freeze for ReLU
impl RefUnwindSafe for ReLU
impl Send for ReLU
impl Sync for ReLU
impl Unpin for ReLU
impl UnwindSafe for ReLU
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