pub enum ActivationKind {
Relu,
Sigmoid,
Tanh,
}
Expand description
Supported activation functions
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ActivationKind
impl Clone for ActivationKind
Source§fn clone(&self) -> ActivationKind
fn clone(&self) -> ActivationKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ActivationKind
impl RefUnwindSafe for ActivationKind
impl Send for ActivationKind
impl Sync for ActivationKind
impl Unpin for ActivationKind
impl UnwindSafe for ActivationKind
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