pub fn sumsq(x: &Tensor) -> Result<f32>
Sum of squares of all elements (for the global gradient norm). Training-path op with a sync readback — WebGPU tensors are native-only here (browser training is out of scope for 1.0).