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