Struct revonet::neuro::SigmoidActivation
[−]
[src]
pub struct SigmoidActivation;
Trait Implementations
impl Debug for SigmoidActivation
[src]
impl ActivationFunction for SigmoidActivation
[src]
fn new() -> SigmoidActivation
Construct an activation function instance.
fn compute(&self, x: f32) -> f32
Compute activation function value using given argument. Implementation should call ActivationFunction::compute_static
to avoid duplication. Read more
fn compute_static(x: f32) -> f32
Compute activation function value using given argument. This is a static variant of the function compute
. Read more