Skip to main content

activate_derivative

Function activate_derivative 

Source
pub fn activate_derivative(x: f32, act: &ActivationType) -> f32
Expand description

Evaluate the derivative of activation function act at pre-activation x.