gradient_norm

Function gradient_norm 

Source
pub fn gradient_norm(gradient: &[f64]) -> f64
Expand description

Compute the L2 norm of a gradient vector.