pub fn global_norm<B: Backend, T: Float>(leaves: &[Array<B, T>]) -> Scalar<B, T>
The L2 norm of all the leaves together (optax.tree.norm).
optax.tree.norm