pub fn normalize_2d(a: &Tensor) -> Tensor
Normalize vectors in 2d pictures to unit length.
a: Tensor - The tensor to normalize [N, C, H, W]
Tensor - The normalized tensor [N, C, H, W]