pub enum Activations {
ReLU,
Sigmoid,
None,
}Expand description
Common activation functions
Variants§
Auto Trait Implementations§
impl Freeze for Activations
impl RefUnwindSafe for Activations
impl Send for Activations
impl Sync for Activations
impl Unpin for Activations
impl UnwindSafe for Activations
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