Struct juggernaut::activation::HyperbolicTangent
[−]
[src]
pub struct HyperbolicTangent;
Trait Implementations
impl Activation for HyperbolicTangent
[src]
fn new() -> HyperbolicTangent
fn calc(&self, x: f64) -> f64
Calculates the tanh of input x
fn derivative(&self, x: f64) -> f64
Calculates the Derivative tanh of input x