[−][src]Enum opencv::ml::ANN_MLP_ActivationFunctions
possible activation functions
Variants
Identity function:
Symmetrical sigmoid:
Note: If you are using the default sigmoid activation function with the default parameter values fparam1=0 and fparam2=0 then the function used is y = 1.7159*tanh(2/3 * x), so the output will range from [-1.7159, 1.7159], instead of [0,1].
Gaussian function:
ReLU function:
Leaky ReLU function: for x>0 and x<=0
Trait Implementations
impl Clone for ANN_MLP_ActivationFunctions[src]
fn clone(&self) -> ANN_MLP_ActivationFunctions[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ANN_MLP_ActivationFunctions[src]
impl Debug for ANN_MLP_ActivationFunctions[src]
impl PartialEq<ANN_MLP_ActivationFunctions> for ANN_MLP_ActivationFunctions[src]
fn eq(&self, other: &ANN_MLP_ActivationFunctions) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralPartialEq for ANN_MLP_ActivationFunctions[src]
Auto Trait Implementations
impl RefUnwindSafe for ANN_MLP_ActivationFunctions
impl Send for ANN_MLP_ActivationFunctions
impl Sync for ANN_MLP_ActivationFunctions
impl Unpin for ANN_MLP_ActivationFunctions
impl UnwindSafe for ANN_MLP_ActivationFunctions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,