pub fn norm_2d(t: &Tensor) -> Tensor
Compute the norm of vectors in 2d pictures. Equivalent to linalg_norm but faster.
linalg_norm
Tensor - The norm of the vectors [N, 1, H, W]