chickadee » nanograd » compute-gradient-norm

compute-gradient-norm parametersprocedure

Returns the global L2 norm of the gradients of parameters: the square root of the sum of all squared gradient elements.